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


Click here to return to the 'Perform tasks on sleep with AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Perform tasks on sleep with AppleScript
Authored by: fungus on Jan 28, '05 01:54:03PM
The subject of this hint is misleading. I thought you were talking about running a script when the machine is in sleep mode. I thought this was not possible, and curious what you did. After reading your script I see that it should be titled "Perform tasks on idle with AppleScript". It was a good hint anyways. Good job.

[ Reply to This | # ]
SleepWatcher
Authored by: escowles on Jan 28, '05 11:40:14PM

I'm not sure how to do things while the computer is asleep (though I think it can be done, it seems like Retrospect was able to wake the machine up to do scheduled backups...).

But the next best thing is SleepWatcher -- it runs a script when the machine goes to sleep. I used this for a while to make my account switch to the login screen when it went to sleep (to get around the bug that makes you have to type in your password twice when waking from sleep and the screensaver at the same time).



[ Reply to This | # ]