Pauses command execution for a specified number of milliseconds.
Syntax
Wait(milliseconds)
Parameters
- milliseconds
- Number of milliseconds to pause.
Remarks
When controlling applications by sending keystrokes, effects are not always instantaneous.
Use this function to insert pauses in a command, allowing the active application to respond to previous actions.
Choosing the right number of milliseconds can be a challenging tradeoff between command speed and command reliability. When possible, use WaitForWindow instead.
Examples
CopyClose a window by pointing at the taskbar
Close Here = {RightButton} Wait(500) c;
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)