how to resize a screen share using applescript in 10.8?
Hello,
I am trying to screen share on to 10 mini mac servers and then resize each window.
----I have got this script to work as a test between macbook pros using 10.6/10.7
tell application "Screen Sharing"
open location "eppc://username:password@.Mac1.local"
activate
end tell
delay 3
tell application "Screen Sharing"
activate
set the bounds of the front window to {10, 220, 517, 531}
end tell
delay 3
tell application "Screen Sharing"
open location "eppc://username:password@.Mac2.local"
activate
end tell
delay 3
tell application "Screen Sharing"
activate
set the bounds of the front window to {10, 467, 517, 782}
end tell
etcetc
----however I can not get it to work across the 10 mini macs I need to screen share. They are running 10.8.
---- I have managed to get the 10.8 mini macs to understand:
tell application "Screen Sharing"
open "vnc://Mac1.local"
activate
end tell
delay 3
---- (I could not get them to screenshare using "eppc://username:password@.MacNumber.local" or "vnc://username:password@.MacName.local" so they now log in automatically as they have the username and password remembered in the keychain) however I am strugling to get 10.8 to understand resizing the screen share windows using the bellow code:
tell application "Screen Sharing"
activate
set the bounds of the front window to {10, 467, 517, 782}
end tell
----If anyone has any suggestions, that would be ace and much appreciated !
Thanks
OS X Mountain Lion (10.8.4)