Is there a way to adjust the Mac’s display brightness in Objective-C? I have sensitive eyes, and sometimes the display seems like it could be darker. Combine that with Jeff’s blog post about geeks and darkness, and it can get pretty annoying.
I think it would stand to reason that if the display could be set as a number value, it could get set lower than the regular screen brightness. I have Googled all over, but all of the things that came up were about the iPhone. Is there a way to do it for Mac?
just googled around and found this 🙂
Here is the code how to get brightness.
How to set the brightness.
I found it here – http://www.alecjacobson.com/weblog/?tag=brightness.