DarkAdapted is an application program. It controls the amount of red, green, and blue in your screen gamma so that you may, for example, preserve your dark adaptation while using your computer. Gamma fades can be scheduled, AppleScripts may be scheduled, and system-wide hotkeys can be set up to execute AppleScripts and gamma fades.
DarkAdapted is being used by astronomers, planetarium operators, graphics professionals, medical professionals, airline pilots, air traffic controllers, and others worldwide to provide flexible, dynamic control over their monitor's screen color response. People with monitors that appear too bright (such as owners of certain iMac models), also find DarkAdapted to be valuable. Users may define an unlimited number of gamma presets, and invoke them via global hotkeys, by menu selection, or by typing the first few letters of a preset’s name.
http://www.aquiladigital.us/darkadapted/index.html