Condition criterion

The Condition criterion allows you to specify a conditional expression that the macro runtime evaluates during screen recognition, such as $intNumVisits$ == 0.

During screen recognition the macro runtime evaluates the conditional expression and obtains a boolean result.

If the conditional expression evaluates to true then the macro runtime evaluates this descriptor as true. Otherwise the macro runtime evaluates this descriptor as false.

The Condition criterion increases the flexibility and power of screen recognition by allowing the macro runtime to determine the next macro screen to be processed based on the value of one or more variables or on the result of a call to a Java™ method.

In the Condition input field, enter a conditional expression that the macro runtime evaluates during screen recognition.

For an explanation of the Optional and Invert check boxes, see Optional versus non-optional screen recognition criteria and Inverted match of screen recognition criteria.