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


Click here to return to the 'An AppleScript to quickly sleep the display' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to quickly sleep the display
Authored by: sjmills on Aug 15, '05 05:01:34PM
When I switched my script to use do shell script "sleep 65", the displays woke back up after the sleep 65 exited. Must be a difference in what sleep and delay do.

[ Reply to This | # ]
An AppleScript to quickly sleep the display
Authored by: garbanzito on Aug 15, '05 07:33:31PM

try this:

do shell script ("pmset dim 1; sleep 90; pmset dim 30") with administrator privileges

then just type in your password when it runs (much safer than storing your password in a script)



[ Reply to This | # ]