Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

topherdill

macrumors newbie
Original poster
Apr 13, 2007
1
0
Nashville, TN
trying to automate setting the displays to "mirror" and to the maximum size as well. would like to be able to automate the opposite to bring back to normal.

(how do I script selecting the display option in the preferences window, then the "mirror" on the arrangement window and then the maximum resolutions on the dsiplay window?)

this is what I have so far:

tell application "Finder"
activate
select window of desktop
select window of desktop
make new Finder window to startup disk
select Finder window 1
select Finder window 1
set target of Finder window 1 to folder "Applications" of startup disk
select Finder window 1
select Finder window 1
select Finder window 1
open application file "System Preferences.app" of folder "Applications" of startup disk

tell application "System Preferences"
set current pane to pane "displays"
end tell
end tell


:confused: help!!!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.