|
|
Any way to programmatically change the screen brightness/contrast?
|
|
|
|
Senior User
Join Date: Apr 2001
Location: Bolingbrook, IL, USA
Status:
Offline
|
|
I'm thinking of making a program that will change the screen brightness and contrast with the time of the day. That way, you can make it so at night it will be less bright and during the day it will be more bright. Is there any way to change it, or will I have to manually change them every day?
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Originally posted by oVeRmInD911:
I'm thinking of making a program that will change the screen brightness and contrast with the time of the day. That way, you can make it so at night it will be less bright and during the day it will be more bright. Is there any way to change it, or will I have to manually change them every day?
I'm not sure how much skill you have in what areas, but CoreGraphics has functions for this.
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Jul 2002
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status:
Offline
|
|
That actually changes the picture gamma curve... I think Overmind is asking about how to control the brightness of the display's backlight lamp, doing the same thing as the Brightness slider in the Display pane of System Prefs.
As for how to do the latter, I have no idea... Never had a need to look for myself. But you might still find it by poking about in CoreGraphics headers... or you may need to look around at the IOKit level, since that's a hardware thing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|