Sleep
From AutoIt Wiki
Sleep pauses script execution. Adapted from AutoIt doc.
Contents |
Syntax
Sleep(delay)
Parameters
| Param | Purpose |
| delay | Remain inactive for x milliseconds |
Delay
Sleep works as a timer which stops all processes related to the script for x milliseconds where x is an integer. Maximum sleep time of 2147483647 milliseconds (24 days)
Local $x = 3000 ; 3 seconds
Run("NOTEPAD.EXE")
Sleep($x)
ProcessClose("NOTEPAD.EXE")
Return Values
None.