Force a sleep
Force a sleep
- Subject: Force a sleep
- From: "Andrew James" <email@hidden>
- Date: Mon, 14 May 2007 12:24:04 +0930
Hi,
For the life of me i can not find a single snippet of code to tell a system
to goto sleep, im hoping that if my application which uses
CGCaptureDisplay() will be able to send the system to sleep.
Does anyone have any snippets of code to put the system to sleep? it needs
to be carried out fully from inside my application as far as i can
understand due to the capture display function blocking the OS from
initiating a sleep.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden