Hi,
I'm new to Macro Scheduler, and I'm trying to figure out how to create a "resume" button that will pause my macro when it appears, then resume the macro when I click on it.
Or, if that's not possible, just a pause button that will pause/ resume the macro when clicked.
TIA for any help.
How to create a Pause / Resume button
Moderators: Dorian (MJT support), JRL
- Grovkillen
- Automation Wizard
- Posts: 1128
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
Re: How to create a Pause / Resume button
Use a dialog and then the command show. If you add a return variable to the show command it will make the dialog "modal" which is what you want.
- Dorian (MJT support)
- Automation Wizard
- Posts: 1378
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: How to create a Pause / Resume button
Also a simple MessageModal will do that too. It'll pause the script until you click OK :
You can even ask a YES/NO question to ask if you want to continue :
Code: Select all
MessageModal>I'm waiting until you click OK
Code: Select all
//Ask the question
Ask>Do you wish to continue?,Continue
//Exit if the answer is no
If>Continue=NO
exit
Endif
//Continue here if the answer wasn't no.
messagemodal>hello, I'm still running
Yes, we have a Custom Scripting Service. Message me or go here
Re: How to create a Pause / Resume button
"MessageModal>I'm waiting until you click OK" is the simplest choice for me.
I've got 3 different macro programs running at the same time (Macro Scheduler, TypeItIn and DisplayFusion) and they make my time on the computer a lot easier.
Thanks to Grovkillen and Dorian for your help.
I've got 3 different macro programs running at the same time (Macro Scheduler, TypeItIn and DisplayFusion) and they make my time on the computer a lot easier.
Thanks to Grovkillen and Dorian for your help.