# donate Brightness.m and Brightness.applescript

**URL:** <https://psychtoolbox.discourse.group/t/donate-brightness-m-and-brightness-applescript/94>\
**Category:** Uncategorized\
**Created:** [June 25, 2017, 6:33am UTC](https://psychtoolbox.discourse.group/t/donate-brightness-m-and-brightness-applescript/94 "2017-06-25T06:33:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![denispelli](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@denispelli](https://psychtoolbox.discourse.group/u/denispelli)\
**Post date:** [June 25, 2017, 6:33am UTC](https://psychtoolbox.discourse.group/t/donate-brightness-m-and-brightness-applescript/94/1 "2017-06-25T06:33:40Z")

</div>

dear mario

i edited my old AutoBrightness routines to produce Brightness routines that control the brightness slider. They seem to work fine, and offer an alternative to Screen('ConfigureDisplay','Brightness',..) which Apple has recently made unreliable. 

Can I donate these to the Psychtoolbox?

Attached.

best

denis

  

  

 
 

 | ![photo](https://ec.yimg.com/ec?url=https%3A%2F%2Fs3.amazonaws.com%2Fucwebapp.wisestamp.com%2F887691c9-4947-4f2c-9c88-27e316257a00%2F032_Colorcropped.format_png.resize_200x.png%23logo&t=1575345749&sig=upbar0KrxazX3rm7UMLtyA--~E) | |   
 **Denis Pelli**  
 Professor of Psychology & Neural Science, New York University 
 
 +1-646-258-7524| [denis.pelli@...](mailto:denis.pelli@...)| [http://psych.nyu.edu/pelli/](http://psych.nyu.edu/pelli/)| Skype: denispelli | [http://denispelli.com](http://denispelli.com) 
 

| [![](https://ec.yimg.com/ec?url=https%3A%2F%2Fs3.amazonaws.com%2Fimages.wisestamp.com%2Fsocial_icons%2Fsquare%2Ffacebook.png&t=1575345749&sig=6Gq3zuoEaPPMl8tBfJ4QFA--~E)](http://www.facebook.com/denispelli) | [![](https://ec.yimg.com/ec?url=https%3A%2F%2Fs3.amazonaws.com%2Fimages.wisestamp.com%2Fsocial_icons%2Fsquare%2Flinkedin.png&t=1575345749&sig=1s1bnp3v6u81NVqfwUvaAQ--~E)](http://www.linkedin.com/in/denispelli/) | [![](https://ec.yimg.com/ec?url=https%3A%2F%2Fs3.amazonaws.com%2Fimages.wisestamp.com%2Fsocial_icons%2Fsquare%2Ftwitter.png&t=1575345749&sig=QJiEIlEfqHpemVK4BJ0QCw--~E)](http://twitter.com/denispelli) |

  |

---

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [June 26, 2017, 9:40pm UTC](https://psychtoolbox.discourse.group/t/donate-brightness-m-and-brightness-applescript/94/2 "2017-06-26T21:40:36Z")

</div>

Btw., Screen Brightness works still fine on my 2010 MacBookPro with OSX 10.12 latest service pack, so the macOS bug is likely specific to your model of MacBook Air.  
  
The brightness slider indeed doesn't move, i don't know if it ever moved or not. But then i also don't see the point of having the brightness control GUI open and focused if you want to reliably control brightness from a program. That's just begging for trouble.  
  
-mario
