brightness applescript

so as of 10.5.7 for some reason i cant get this script to work

any input?

property brightness_level : 0.5

tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.displays"
tell application "System Events"
set value of slider 1 of group 2 of tab group 1 of window "iMac" of process "System Preferences" to brightness_level
end tell
quit
end tell

iMac Alu 2.0GHz, Mac OS X (10.5.5)

Posted on May 29, 2009 5:16 AM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

brightness applescript

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.