Macro Scheduler 15

IEWaitForText

IEWaitForText>IE_Reference,Frame,Text,All,Timeout,Result

 

Waits for the specified text to exist in the body of the page before continuing.

 

IE_Reference: The web browser instance to extract from. IE_Reference must be an identifier value returned by IECreate, IEGetFromURL or IEWaitNew.

 

Frame: the name of the frame to extract from

 

Text: the text to wait for

 

All: if set to 1 look in all html otherwise just text

 

Timeout: number of seconds to wait

 

Returns 1 if the text was found within the given timeout seconds. If it times out it will return 0.

 

See also: IE Functions

 

Example

 

IEWaitForText>IE[0],,{"Log in"},0,20,result