Here's another example using Applescript:
tell application "Finder"
set {0, 0, dtw, dth} to bounds of window of desktop
end tell
tell application "Finder"
reopen
activate
try
set bounds of window 1 to {0, 22, dtw / 2, dth / 2}
end try
end tell
tell application "Safari"
reopen
activate
try
set bounds of window 1 to {0, 22, dtw, dth}
end try
end tell
tell application "Terminal"
reopen
activate
try
set position of window 1 to {0, 22}
set size of window 1 to {dtw / 2, dth - 22}
end try
end tell
tell application "TextEdit"
reopen
activate
try
set bounds of window 1 to {dtw / 2, 22, dtw, dth}
end try
end tell
Working with multiple monitors requires way too much wizardry though.
SizeUp has separate actions for moving a window to the next monitor and setting bounds for windows.
It's going to be more difficult because you use two monitors... Also, do you need to reposition multiple windows of the same application?
Scripts like this don't tend to have a very long life span though. It could be more useful to break it down into actions for launching each application, and for setting bounds for windows. – Lri – 2011-03-14T16:10:36.317
No, I just need to open textmate, terminal, a finder window and firefox, firefox takes up all of one monitor, with the others sharing the larger display. – Mild Fuzz – 2011-03-14T16:30:06.040