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
help!!!
(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