Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to generate a timed shutdown' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to generate a timed shutdown
Authored by: ranker on Feb 17, '04 11:53:26AM
When you need to pause an applescript for long periods of time it is not advisable to use "delay". It causes the script to hang, eating up processing time. Instead, you should use the Unix "sleep" command.

do shell script ("sleep " & number_of_seconds)

[ Reply to This | # ]