et cetera Posted August 19, 2016 Report Share Posted August 19, 2016 Hello, How can I get a question to come up at the end of a macro asking if I want to repeat the macro? I'd like it to give me the option of having the user press "Enter" for yes (I do want to repeat it), and having the user press "Esc" for no (I do not want to repeat it). I looked at the commands and in the PDF manual, but it's not clear to me how to do it. Thank you very much. Eric Configuration: Macro Express 3.1b Build 1 (3.10.2.1) on a VirtualBox VM running Windows 10 Version 1511 (Build 10586.545). Quote Link to comment Share on other sites More sharing options...
Samrae Posted August 19, 2016 Report Share Posted August 19, 2016 Instead of doing this at the end of the macro I would do it using two macros. Create your main macro. Let's call it MainMacro. Create a second macro that looks like this: Variable Set String %T1% "Yes" Repeat Until %T1% <> "Yes" Macro Run: MainMacro // Ask the user if they want to continue Variable Set String %T1% from Prompt Repeat End I did not test this sample. You may need to adjust it but this should get you started. Quote Link to comment Share on other sites More sharing options...
et cetera Posted August 21, 2016 Author Report Share Posted August 21, 2016 Thank you, Samrae, I'll see if I can get my mind around that and do it that way. I'm not a coder, just a plain old user. I made the macro via capture, not coding. Thank you very much for your input, Eric Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.