Programming with Reflection

image\rwnprg32.gif WaitForDisplayString method

 

Syntax object.WaitForDisplayString DisplayString, Timeout, Row, Column

 

Description

Begins a wait that is satisfied by the appearance of the specified string at the specified location in the terminal window. The string can be received from the host or typed by the user. The procedure is paused until the wait expires or is satisfied.

Arguments

DisplayString Argument type: String
The string that can terminate the wait.

Timeout Argument type: String
Specifies an interval of time in HH:MM:SS format that can terminate the wait. If this method times out, an error occurs.

Row Argument type: Integer
The row in which the string must be received. Use rcAnyRow if you don't care in which row the string is located. You can also use rcMouseRow to specify the row where the mouse was last clicked.

Column Argument type: Integer
The column in which the string must be received. Use rcAnyCol if you don't care in which column the string is located. You can also use rcMouseCol to specify the column where the mouse was last clicked.

 

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command