Application.Sleep

Application.Sleep ( 

number Time )

Description

Causes the update to sleep for a desired period of time.

Note: While sleeping, the update will not respond to mouse movements, clicks, or key presses. This applies to every aspect of the update, including but not limited to the Cancel button.

Parameters

Time

(number) The time to sleep, in milliseconds.

Tip: 1000 milliseconds = 1 second

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions