[futurebasic] Re: [FB] Getter/Setters for Monitor brightness

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2008 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Fri, 22 Aug 2008 09:05:27 -0700
On Aug 22, 2008, at 3:22 AM, Robert Purves wrote:

>
> Michele Neri wrote:
>
>> Brian Stevens wrote:
>>> I'm looking for a method to get/set monitor brightness ( as the  
>>> user can do manually in System Preferences/Displays ). The old  
>>> display manager calls and CG calls didn't reveal anything obvious  
>>> to tired eyes, so I've probably overlooked it.
>
>
>
>> With FBtoC is simple:
>
> < snip >
>
>
> Nice solution, Michele.

<snip>



Thank you Michele and Robert for the examples; This is what I need.   
The kIODisplayBrightnessKey  key constant had eluded me during my late- 
in-the-day search.

In case anyone is interested, I did find an Applescript method but it  
has some limitations because it drives the System Preferences UI when  
"Enable access for assistive devices" is turned on.


Brian S