WaitForScreen

Top  Previous  Next

S

A

W

WS

ü

ü

Syntax -

WaitForScreen <TimeOut> <ScreenName> [<ScreenNameX> …]

       Where:

       <TimeOut> is an integer.

       <ScreenName> and <ScreenNameX> are literal strings or variables that contain literal strings. It there are more than one they are separated by a space.

       

Description:

This command is used to stop the processing of the script until either the number of seconds defined in <TimeOut> is exceeded, or a screen is displayed that has one of the names in the list of <ScreenName> [<ScreenNameX> …].   If the time limit is exceeded, EMUE terminates the processing of the script with an error.

 

Note: Screen names should be in quotes or stored in a variable.

 

Note: This command is used when the expected screen response from the previous command may be delayed for a few seconds.  It has been noted that in some cases, $XFR actions (as are used in the interaction with EAD) will cause the terminal session to report that it is ready before it has displayed a new screen.  If this occurs, the script will continue processing and may cause errors or unexpected results.  Using the WaitForScreen command after an $XFR can prevent the script from continuing until the terminal session has displayed the proper screen.

 

Sample:

WaitForScreen 3 "NPGEFN00"