Wait For Text

Quick Script Editor

Wait For Text

To access

The Wait For Text dialog box lets you instruct the Quick Script to wait for specified text to appear at the specific location on the screen within the allotted amount of time. If successful, the true branch of the statement is executed. If unsuccessful, the false branch is executed.

Text—Specifies the text for which the Quick Script is to wait.

Position

Anywhere—Looks for text anywhere in the host window and disables Row and Column boxes.

Row—Position in the host window. For example, 1 is the upper-most row.

Column—Position in the host window. For example, 1 is the left-most column.

Options

Timeout (secs)—Time (in seconds) to wait for text. If the text is found before this time expires, the “If found” command or action is performed. If the text is not found after the timeout, the Otherwise command or action is performed.

Settle Time (secs)—Time (in seconds) beyond the timeout to verify if the text is still available to the host screen. This is necessary because certain hosts allow input and then quickly disallow input again. If the host is not ready after the settle time, the Wait For Input statement fails.

Wait for Input—If enabled, the macro waits for the host to allow user input after the text is found at the specified location. If you clear this check box, then user input is not processed.

Case Sensitive—If enabled, the macro looks in the host window for the specific case used in the Text box. Case is ignored if you clear this check box.

If Found—Directs execution to the statement or command (from the drop-down list) if input is received before the timeout and settle time expire.

Otherwise—Directs execution to the statement or command (from the drop-down list), if the text is still not found after the timeout and settle time expire.

Properties— Specifies settings for the selected statement. There are no properties for commands such as Do Nothing, Connect, Disconnect, and Terminate Quick Script Execution. The button is not enabled for the Go To Label and Compare Variables commands, if (respectively) a label is not yet defined or a variable is not yet declared.


Related Topics

Wait For Input

Connect to Host