Re: Prevent computer from going to sleep but _not_ disable dimming
Re: Prevent computer from going to sleep but _not_ disable dimming
- Subject: Re: Prevent computer from going to sleep but _not_ disable dimming
- From: Manfred Schwind <email@hidden>
- Date: Thu, 29 May 2008 15:22:56 +0200
No other apps running. UpdateSystemActivity() definitively disables
dimming the screen for me (MacBook Pro C2D), regardless which constant
I use.
In the meantime I found a solution by using some IO... routines of the
Power Manager API in this old thread from 2005:
http://lists.apple.com/archives/carbon-dev/2005/Apr/msg00586.html
Regards,
Mani
Am 28.05.2008 um 18:24 schrieb Jere Gmail:
Either you are doing something wrong or you have another app keeping
your screen on, like quicktime or vlc.
On Tue, May 27, 2008 at 11:26 AM, Manfred Schwind wrote:
You have to use IdleActivity, that's the one I use and it works.
Are you sure? I tried all constants, but all of them prevented the
screen
from dimming. But I _want_ the screen to dimm. I just want to
prevent the
computer from sleep, but dimming the screen is OK and allowed. But
none of
the constants did it that way. They all seem to combine sleeping and
dimming.
Mani
--
http://mani.de - friendly software
iVolume - listen to music freehand
LittleSecrets - the encrypted notepad
--
http://zon7blog.wordpress.com/
And again we fall.
_______________________________________________
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