• 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
Programatically waking from sleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programatically waking from sleep


  • Subject: Programatically waking from sleep
  • From: Martin-Luc GIrard <email@hidden>
  • Date: Tue, 15 Apr 2003 00:31:42 -0400

Hey all!

I know this question has been asked a few times before, but it hasn't been answered yet.

How does one wake up programatically in Jaguar, w/cocoa?

In previous incarnations of OSX, I simply figured that feature wasn't implemented, but in the light of iBeeZz (a cocoa app that wakes/starts up your computer and executes scripts), I now know it is possible...

I looked through power.h and I'm thinking I have to use the
SetWUTime carbon call, which takes a 'long' as an input...

Am I correct in this assumption? Is there anything to do to get it to work?
and what 'long' should I send it? the timeIntervalSinceReferenceDate of the time I want it to wake up?

Thanks you so very much for your help :)

Cheers
ML
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Programatically waking from sleep
      • From: Seth Delackner <email@hidden>
    • Re: Programatically waking from sleep
      • From: Stephan Burlot <email@hidden>
  • Prev by Date: Re: NSString Drawing Accents
  • Next by Date: How to make a NSComboBox with Images
  • Previous by thread: Re: Wrapping matrix
  • Next by thread: Re: Programatically waking from sleep
  • Index(es):
    • Date
    • Thread