Method Sleep

AutoIt X

Method Reference


Sleep

Pause script execution

Sleep delay

Parameters

delay Amount of time to pause (in milliseconds).

Return Value

None.

Remarks

Maximum sleep time is 2147483647 milliseconds (24 days).

Example


Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
oAutoIt.Sleep 5000  'five seconds