Wait
Overview
- The Wait command is used to wait for some condition before continuing. The condition can be an amount of time, an expression, or both, depending on the command & action used.
- Waits should always be used after commands which act on other windows, as after PowerPro sends the window a message asking it to do something, the window itself must have time to respond.
Actions
-
Activity
- Waits for mouse or keyboard activity.
-
For
- Wait for specified length of time, or for an expression to evaluate to true.
-
ForInterval
- Waits for specified amount of time.
-
Message
- Displays a message box with specified msg and, optionally, a countdown timer starting at n seconds, & waits for user to press a button to determine whether to continue.
-
Quit
- Quit all waits.
-
Ready
- Wait for specified program(s) to be ready to accept input.
-
Until
- Wait until specified length of time, or until an expression evaluates to true.
See Also
- PowerPro offers a few other types of waits:
- the Event Plugin
- PPSR > Plugins > The Plugins > Event
- File.RunCallBack() in the File plugin
- PPSR > Plugins > The Plugins > File > Services > RunCallBack
- File.RunWait() in the File plugin
- PPSR > Plugins > The Plugins > File > Services > RunWait