• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Display Brightness Apple Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display Brightness Apple Script


  • Subject: Re: Display Brightness Apple Script
  • From: david wollmann <email@hidden>
  • Date: Wed, 25 Jan 2006 11:40:20 -0700

Thanks everyone for your help. All I needed was to enable Access for Assistive Devices. 

The other issue I'm having now is that I need to profile a number of monitors and I was hoping I could disable the brightness control of the Monitor through the Function Keys F14 and F15. I've searched the archives but could not find the solution.

Is there an easy way to reassign or disable these keys? If nothing else these scripts will help because I can at least reset the value to the same brightness the profile was created under.

Thank you,

David Wollmann
lenzart.org

On Jan 25, 2006, at 9:11 AM, email@hidden wrote:

On 25 Jan 2006, at 12:44 am, david wollmann wrote:


Can someone help me out with this Apple Script? This was posted  

awhile ago on this forum but it is not working with 10.4.3.


tell application "System Preferences"

activate

set current pane to pane "com.apple.preference.displays"

end tell

tell application "System Events" to tell process "System Preferences"

tell slider 1 of group 2 of tab group 1 of window 1 to set x to

value

display dialog x

end tell


When I run it I get this error, "System Events got an error:  

NSReceiverEvaluationScriptError: 4"

Also, the last use of the word Value is now highlighted in the script.



That script looks familiar ;-)


Here is an *idiot proof* version:


<http://www.idea-digital.com/applescript/applescript/utilities.html>


The use of UI scripts requires that you enable *access for assistive  

devices*.


Regards


-- 

Martin Orpen

Idea Digital Imaging Ltd


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Time to upgrade monitor optimizer
  • Next by Date: Re: Time to upgrade monitor optimizer
  • Previous by thread: Re: Display Brightness Apple Script
  • Next by thread: RE: Display Brightness Apple Script
  • Index(es):
    • Date
    • Thread