Re: Disabling screen turning off
Re: Disabling screen turning off
- Subject: Re: Disabling screen turning off
- From: Jeff Nouwen <email@hidden>
- Date: Fri, 02 May 2008 07:14:30 -0600
On May-2-2008, at 2:26 AM, Jere Gmail wrote:
I know I can stop the machine from going to sleep through calling
the function
UpdateSystemActivity ( UInt8 activity );
But I also want to stop it from turning off the screen, as quicktime
or vlc do.
How can I do this?
Pass in UsrActivity as your activity value:
UsrActivity
Delays idle sleep and dimming by timeout time.
Available in Mac OS X v10.0 and later.
Declared in Power.h
- Jeff
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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