Re: Set computer to sleep mode
Re: Set computer to sleep mode
- Subject: Re: Set computer to sleep mode
- From: Jerry Brace <email@hidden>
- Date: Mon, 25 Jul 2005 21:56:02 -0230
Thanks Chilton,
I found an article here: http://developer.apple.com/qa/qa2001/
qa1134.html
Any idea on how I would do this in Cocoa with objective-C?
Cheers,
Jerry
On 25-Jul-05, at 9:35 PM, Chilton Webb wrote:
Hi Jerry,
I think there's an AppleEvent that does this. I don't recall off
the top of my head which it is, but that might be a good start.
-Chilton
On Jul 25, 2005, at 6:50 PM, Jerry Brace wrote:
Does anyone know how to code an event which will put the computer
to sleep at a particular time?
Right now I am using the Apple Power Management DDK to detect
sleep/wake events and I have code to wake the computer at a set
time - but I am lost on how to put the computer to sleep.
Any help/ideas would be great.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden