waitForNewScreen

Top  Previous  Next

The waitForNewScreen command waits until a new screen arrives, blocking the code execution until the event is raised or the operation times out. In case the operation  succeeds, the success function will be executed  in case the operation fails  or times out, the error function will be executed.

 

 

JavaScript code

 

 display.waitForNewScreen(timeout, success, error);

 

Parameters

 

timeout  : Integer (milliseconds)

success : JavaScript function

error      : JavaScript function

 

 

Read More:

Macro Script File Structure
Programming Reference for Macros - cursorPos
Programming Reference for Macros - type
Programming Reference for Macros - typeV
Programming Reference for Macros - setField
Programming Reference for Macros - setFieldV
Programming Reference for Macros - pressAndWait
Programming Reference for Macros - waitForField
Programming Reference for Macros - addNavigationPath