UI Scripting Display's Resolution
UI Scripting Display's Resolution
- Subject: UI Scripting Display's Resolution
- From: Aaron Valenta <email@hidden>
- Date: Tue, 17 Feb 2004 17:33:56 -0500
Trying to create an applescript that changes the monitor's resolution to 1280x1024 but it's buried in so many UI elements that can't quite get it right. Here's what I have:
tell application "System Preferences"
activate
end tell
tell application "System Events"
tell process "System Preferences"
click menu item "Displays" of men "View" of menu bar 1
delay 3
select text field "1280 x 1024" of column 1 of table 1 of scroll area 1 of group 1 of tab group 1
delay 1
end tell
end tell
but no matter how I try to reword the actual selection of the 1280 x 1024 I keep getting "NSReceiverEvaluationScriptError: 4" so I realize my path to the text field isn't liked but don't know the proper command. Any help greatly appreciated.
Aaron
_______________________________________________
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.