Re: Apple Remote UIs - stop Energy Saver settings from dimming/sleep?
Re: Apple Remote UIs - stop Energy Saver settings from dimming/sleep?
- Subject: Re: Apple Remote UIs - stop Energy Saver settings from dimming/sleep?
- From: Ricky Sharp <email@hidden>
- Date: Tue, 24 Apr 2007 17:35:53 -0500
On Apr 24, 2007, at 5:16 PM, Simon Liu wrote:
I have a user interface which is designed for the Apple Remote. A
user can play around for a few minutes by just using the Apple Remote
- no need to use the keyboard or mouse.
However, I have noticed that the Energy Saver settings to dim the
screen and sleep still proceed as normal. It seems using the Apple
Remote does not alert the system that the computer is actually in use.
Is there a way around this to replicate the behaviour of the FrontRow
/ BackRow interfaces?
Not aware of a Cocoa solution, but you could try the following Carbon
API when your app receives an event from the remote:
UpdateSystemActivity (IdleActivity);
See:
<http://developer.apple.com/documentation/Carbon/Reference/
Power_Manager/Reference/reference.html>
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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