• 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
getting a stay open script to do something on system wake up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting a stay open script to do something on system wake up


  • Subject: getting a stay open script to do something on system wake up
  • From: Donald Hall <email@hidden>
  • Date: Sat, 30 Apr 2005 23:44:02 -0600

I have a stay open script application that I want to execute a certain handler when the computer wakes up. I don't think we have access to pmgtwake any more like we did in OS 9. Here's what I'd like to have in my stay open script:

on computerWakeHandler
-- do stuff
end computerWakeHandler

I've done some web searching but haven't come up with anything for OS X. Does anyone know of a way to do this? Has someone written an osax to get at the power management APIs?

Thanks for any pointers,

Don



--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Recovering Run Only script
  • Next by Date: [OT] Safari Shenanigans
  • Previous by thread: Finder's Find still b0rken
  • Next by thread: [OT] Safari Shenanigans
  • Index(es):
    • Date
    • Thread