Re: Display Brightness Apple Script
Re: Display Brightness Apple Script
- Subject: Re: Display Brightness Apple Script
- From: Craig Sutherland <email@hidden>
- Date: Tue, 24 Jan 2006 21:27:09 -0600
On Jan 24, 2006, at 6:44 , 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
David,
Here is a version of your script that works on my machine running
10.4.4-
set bValue to 1.0
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.displays"
end tell
tell application "System Events"
tell process "System Preferences"
set bValue to value of slider 1 of group 2 of tab group 1 of window 1
display dialog bValue
end tell
end tell
HTH
Craig Sutherland
_______________________________________________
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