• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Run script before sleeping?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Run script before sleeping? (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: ACGI form parsing in OSX?
  • Next by Date: Re: ACGI form parsing in OSX?
  • Previous by thread: Run script before sleeping?
  • Next by thread: Re:applescript-users digest, Vol 3 #100 - 13 msgs
  • Index(es):
    • Date
    • Thread