This posting is older than 6 months and can contain outdated information.
OK. I did the math, first learning coordinates, and here it is for a 1344 x 756 display with all windows in 16:9 ratio.
To be honest I don't understand what the: keystroke "`" using {shift down, command down}
is used for.
One problem I have is that i Typically have EyeTV prefs "Always open EyeTV in new window" set to off (unchecked).
So I need to include scripts to enable this option then disable it to return to normal setup.
Also, a way to select and swap each smaller window with the main one.
Any clues folks?
--
activate application "EyeTV"
tell application "System Events"
keystroke "`" using {shift down, command down}
end tell
tell application "EyeTV"
activate
tell window 1
set bounds to {0, 0, 336, 189}
end tell
activate
tell window 2
set bounds to {0, 189, 336, 378}
end tell
activate
tell window 3
set bounds to {0, 378, 336, 567}
end tell
activate
tell window 4
set bounds to {0, 567, 336, 756}
end tell
activate
tell window 5
set bounds to {192, 54, 1344, 702}
end tell
end tell
--
Last edited: 07.08.2011 14:46:17