Toggle Brightness Menulet
Alec Jacobson
March 04, 2010
I took a first crack at making a Cocoa menulet for Mac OS X. I wasn't quite able to do what I wanted to do. But it looks like it might be possible.
What I wanted was to make a brightness slider menulet. It would function the same as the System Volume menulet:
I couldn't yet figure out how to put the slider in the menu bar, so for now I have a brightness toggler:
It was also my first real coding with xcode. Here's my project and the app for intel and power pc (not sure if ppc will work). I assume this will only work on OS X 10.5 but you tell me.
ToggleBrightnessMenulet Xcode Project
Toggle Brightness Menulet (Intel)
Toggle Brightness Menulet (Power PC)
Most (almost all) of this code is unoriginal. See: the brightness source, the menulet tutorial.
Note: See the new version!