Re: Run script before sleeping?
Re: Run script before sleeping?
- Subject: Re: Run script before sleeping?
- From: Stephen Swift <email@hidden>
- Date: Sun, 03 Feb 2002 01:30:59 -0500
- Method-key: Ydco m.ooai. jrm.o uprm yd. e.ot ru Oy.ld.b Xgpbdam O,cuyv
At 2/1/02 11:42 PM, Gnarlodious (email@hidden) Wrote:
>
I have an app that must not be running when the Cube goes to sleep, or it
>
crashes(OS 9.2.2). is there an Apple Event returned when the OS is going to
>
sleep so I can quit the app?
In iDo you can run a script after so many minutes of inactivity. Say your
system goes to sleep after 30 minutes. Well at 25 minutes, you could run
the script... And then tell it to go to sleep? I can't remember if there is
a sleep command or not. And I don't know iDo's url off the top of my head
either. Just a quick idea.
Stephen Swift
email@hidden
-----------------------------------------------
AppleScript Guru - The Mac Observer
http://www.macobserver.com/tips/applescript