WaitForString

Description

Waits until the specified string is present at the specified row and column position

Syntax

ret = WaitForString (row, column, string, timeout)

Parameters

ret

Integer, output

 

0 = OK

 

Non zero = Timed Out

 

 

row

Integer, input

 

The row position to look for the specified string.

 

 

column

Integer, input

 

The column position to look for the specified string.

 

 

string

String, input

 

The string to wait for at the specified row and column position.

 

 

timeout

Integer, input

 

The number of seconds to wait before indicating a time out condition.

Remarks

This is a PASSPORT command.

Example

Sub ZMain()
WaitForString 21,32,"logon",10
End Sub