Re: Display Brightness Apple Script
Re: Display Brightness Apple Script
- Subject: Re: Display Brightness Apple Script
- From: Martin Orpen <email@hidden>
- Date: Wed, 25 Jan 2006 07:34:26 +0000
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