clock.waitSixtieths

Syntax clock.waitSixtieths (number)

Params number is the number of sixtieths of a second for which you wish processing to be suspended.

Action Stops script processing for number sixtieths of a second, then returns true.

Returns True

Examples clock.waitSixtieths (90)

   » true

This example pauses the script for 1.5 seconds before returning true.

Notes Background processes (agents) run when you're waiting, as do other scripts and applications.

Background processes should not call clock.waitSixtieths; they should call clock.sleepFor.

See Also clock.waitSeconds

clock.sleepFor

Discuss