ON ERROR

From Macros Wiki
Jump to: navigation, search

Up

Command

ON_ERROR GOTO <label>


If there is an error in the macro this command will goto the defined label and continue the macro from there.

Parameters

<label>
A custom label for the macro. It must be on a new line and it must start with a colon. All the text after the colon is the label name.

Example

ON_ERROR GOTO MyError