Condition is True (<if> element)
Use the Condition is True tab to specify the actions that you want to be performed if the condition evaluates to true.
- The Action listbox on the Condition is True tab allows you to create and edit actions in the same way that the Action listbox on the Actions tab does.
- The Delete button and the Change Order button on the Condition is True tab allow you to delete or reorder actions in the same way that the Delete button and the Change Order button on the Actions tab do.
- The lower area of the Condition is True tab allows you to edit the values of the currently selected action in the same way that lower area of the Actions tab does.
Use these controls on the Condition is True tab to create and edit the actions that you want the macro runtime to perform if the condition is true.
For example, you might set the Condition field to the name of
a variable, such as $boolResult$
, into which a previous
operation has stored its result. If the value of $boolResult$ is true,
you might want to a perform a Message action that displays a status
message to the user. Therefore, in the Condition is True tab you would
create a Message action that contains the status message that you
want to display.
During macro playback the macro would evaluate the condition, $boolResult$. If the value is true then the macro runtime would perform the Message action that you had defined in the Condition is True tab. If the value is false then the macro runtime would skip over the Message action and over all the other actions (if any) that you had defined in the Condition is True tab.