Sends task flow to the label indicated. Used to direct the task to jump to a labeled section defined by the Label action. Make the Goto dependent on an If action or some other condition to avoid an endless loop between Goto and the Label. Excessive use of Goto can create tasks that are difficult or impossible to debug. If your task requires more than a few Goto steps it is recommended to consider re-structuring with Sub-tasks (using the Start Task action).
Declaration
<AMGOTO LABELNAME="text [label name]">
See Also: If, If Compare Files, If File Exists, If Folder Exists, If Last Step, If Pixel Exists, If Process Running, If Text Contains, If Windows Exists, End If, End Select/Case, Label, Select/Case
Property |
Type |
Required |
Default |
Markup |
Description |
Label to Goto |
Text |
Yes |
(Empty) |
LABEL="bugHandler" |
The name of a pre-existing label in the task in which to jump to. To create a label in a task, use the Label Action. |
The Description tab allows you to customize the text description of any step as it appears in the Task Builder's Steps Pane.
More on setting custom step description
The Error Causes tab allows you to select/omit specific errors that should cause a particular step to fail.
The On Error tab allows you to determine what the task should do if a particular step encounters an error.
More about On Error properties
All text fields allow the use of expressions, which can be entered by surrounding the expression in percentage signs (example: %MYVARIABLE%, % Left('Text',2)%). To help construct these expressions, you can open Expression Builder from these fields by pressing F2.