Stopping a Macro

 

Occasionally it may be necessary to stop a running macro before it has finished. There are several ways to stop a running macro.

 

Aborting a Macro

Below are several ways to stop a running macro.

 

Press the default key sequence of Win + End.

If the Running icon displays when a macro is running, right mouse click on the icon in the notification area.

Change the default sequence to another combination in Options > Preferences > Playback > Miscellaneous.

 

Please note that macros that consist of many keystrokes can send the keystrokes rather quickly and they are buffered in Windows. Once such commands have been buffered in Windows, aborting a macro does not cancel them. In these cases, it may appear that the abort command did not work when in reality the macro has already finished issuing its commands and Windows is now processing them.

 

If more than one macro is running, all macros will be stopped when initiating any of the above mentioned actions.

 

üNote: The Timed Delay in Seconds and the Wait for Time to Elapse commands suspend Macro Express for the amount of time specified. During this delay period the macro cannot be terminated.

 

 

Macro Stop

The Macro Stop command stops the execution of a macro before the macro steps have completed. Insert the Macro Stop command into the macro script. Whenever this line in the macro is reached, the macro terminates. In most cases this command is used in conjunction with a conditional statement. For example, if a desired condition is not met, terminate the macro.