• 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
How to "wake up" from sleep in Apple script ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to "wake up" from sleep in Apple script ?


  • Subject: How to "wake up" from sleep in Apple script ?
  • From: Frédéric Le Jeune <email@hidden>
  • Date: Thu, 7 Nov 2002 12:00:46 +0100

I want to script a timer to sleep and wake up a mac on OS X.


set SleepTime to 45000

repeat

if time of (current date) is equal to SleepTime then
tell application "finder" to sleep
end if

end repeat

Ok for this script. Mac OS X will sleep on 45000

But for "re-activate" (wake-up), no idea...


Big Thanks fo your help.


Fred from Paris, France
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to "wake up" from sleep in Apple script ?
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Tid's 'n AS
  • Next by Date: RE: applescript-users digest, Vol 3 #1040 - 14 msgs
  • Previous by thread: Re: Applescript in a Nutshell
  • Next by thread: Re: How to "wake up" from sleep in Apple script ?
  • Index(es):
    • Date
    • Thread