Scripting Display Preferences
Mac OS X (10.6.4)
Apple’s Worldwide Developers Conference to kick off June 10 at 10 a.m. PDT with Keynote address
The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.
The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.
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