Scripting Display Preferences
Mac OS X (10.6.4)
Mac OS X (10.6.4)
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.displays"
end tell
tell application "System Events"
tell process "System Preferences"
click radio button "Color" of tab group 1 of window "Color LCD"
delay 1
select row 3 of table of scroll area of group of tab group 1 of window "Color LCD"
end tell
end tell
delay 1
tell application "System Preferences"
quit
end tell
Scripting Display Preferences