#PauseTimeout
System variable - Synchronization
The #PauseTimeout system variable specifies the maximum delay for a Pause statement before an error occurs.
Usage
As soon as a #PauseTimeout= a value (for example #PauseTimeout=300) is encountered in the script, the Pause statements use this new value instead of the 120 seconds default value to wait before a Pause fails.
Syntax
#PauseTimeout = <integer>
Parameters
<integer>, numeric in seconds (default value is 120 seconds); if after <integer> seconds, the Text or the image have not been seen by the Pause function, the statements following the PauseFalse keyword in the Pause function are executed: a dialog box is displayed and the script is stopped.
If this system variable is set to 0, the pause is infinite.
Example
#PauseTimeout=20