Skip to content

SLEEP

Causes the application to wait for ms milliseconds.

Syntax

leo-grammar
CC "AdoScript" SLEEP ms:intValue .
CC "AdoScript" SLEEP ms:intValue .

Parameters

  • ms (intValue) - specifies the wait time in milliseconds

Returns

none

Details

During this time the mouse pointer is in hourglass state and the application can not be used.

This command was implemented for internal use. Most probably it will be of no use for customer AdoScripts.

See Also:

Examples

asc
CC "AdoScript" INFOBOX "Click ok to start the wait!"
CC "AdoScript" SLEEP ms:3000
CC "AdoScript" INFOBOX "You waited about three seconds for this window!"
CC "AdoScript" INFOBOX "Click ok to start the wait!"
CC "AdoScript" SLEEP ms:3000
CC "AdoScript" INFOBOX "You waited about three seconds for this window!"

Opens two INFOBOXs with a wait time of three seconds between them.

Versions and Changes

Available since ADOxx 1.3