GUI Scripting: Change Monitor Colors
GUI Scripting: Change Monitor Colors
- Subject: GUI Scripting: Change Monitor Colors
- From: Barbara Mueller <email@hidden>
- Date: Mon, 30 Dec 2002 22:22:45 +0100
With the new GUI Scripting it is possible to select pop up bottons in
a system prefpanes, according the example:
tell process "System Preferences"
click menu item "General" of menu "View" of menu bar 1
if my wait4window("General") is false then return false
tell window 1
tell pop up button 2
click
tell menu 1
if the name of every menu item contains "Graphite" then
click menu item "Graphite"
I wanted to script the PrefPane "Display", something like:
tell application "System Events"
tell process "System Preferences"
click menu item "Displays" of menu "View" of menu bar 1
if my wait4window("Displays") is false then return false
tell window 1
tell pop up button 0
The pop up button is supposed to be "colors" but how can I find out its number?
No number between 0 and 9 seems to work
Any ideas?
Barbara
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.