WaitScreenText


 

WaitScreenText>text

 

Waits for the specified text to appear on the screen.

 

The system variable WST_TIMEOUT can be used to set the number of seconds after which this command should timeout.  If set to zero (the default) the timeout will not occur and the command will continue indefinitely.  If the command completes within the timeout period the value WST_RESULT will be set to TRUE.  Otherwise WST_RESULT will be false.

 

NB: This function requires Windows 2000, XP, Server 2003, or Vista.  It has no effect in Windows 95/98/NT.

 

Abbreviation: WST

See also: GetTextAtPoint, GetTextInRect, GetWindowTextEx, GetTextReset

 

Example:

 

WaitScreenText>Done
 MessageModal>Complete