| Syntax |
clock.waitSeconds (number)
|
| Params |
number is the number of seconds for which you wish processing to be suspended.
|
| Action |
Stops script processing for number seconds, then returns true.
|
| Returns |
True
|
| Examples |
clock.waitSeconds (3)
» true
The example above pauses the script for three seconds before returning true.
window.open (@examples.lunchReminder);
clock.waitseconds (5);
window.close (@examples.lunchReminder)
» true
Displays the object stored at the indicated Object Database address for five seconds, then closes it before returning true.
|
| Notes |
Background processes (agents) run when you're waiting, as do other scripts and applications.
Background processes should not call clock.waitSeconds; they should call clock.sleepFor.
|
| See Also |
clock.waitSixtieths
clock.sleepFor
|