Programatically waking from sleep
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.