.WaitForCondition

Syntax

WaitForCondition "Entity", "Condition", "Timeout"

Description

Waits for the condition to be satisfied. The operation containing the command is paused until the condition is satisfied or the timeout expires.

Command Parameters

Entity Argument type: String
  Specifies the entity on which the condition will be satisfied.
   
Condition

Click the Edit button to open the Condition Edit dialog box for the command argument. Use this dialog box to create a condition that is specific to the entity selected above.

For example, create the following condition that addresses cursor syncing when the cursor is expected to arrive at one of two possible locations:

(Variables.CursorRow = 5 And Variables.CursorColumn = 27) Or (Variables.CursorRow = 24 And Variables.CursorColumn = 1)

   
Timeout Specifies an interval of time to wait for the condition in seconds.






 

 

  Attachmate