Afloat, a free product by Infinite Labs, will let you resize a window by pressing ⌘ + Control + Right Click. Divvy would also work, but Afloat is a free solution.
It looks like Apple have set the window to be aware of what Display it should be on and not extend outside of thats Displays bounds when launching.
A side effect of this is the App will do the same thing with the calls from the applescript.
You can see this if you straddle the window across both Displays. Then quit and relaunch the app.
The window will open on only one of the displays and not be straddled.
If you did the same for say Safari. The window you had straddling would still be straddling.
I think you are out of luck doing it in any way useful.
The only way I got it to do it was to get the window and display details from the plist file '~/Library/Preferences/com.apple.FaceTime' while the window was on the second display.
(* read plist file *)
do shell script "/usr/bin/defaults read ~/Library/Preferences/com.apple.FaceTime NSWindow\\ Frame\\ FaceTimeWindowFrame"
Then when the app was on the first display.
Run a script which quit the app, rewrites the 'NSWindow Frame FaceTimeWindowFrame' entry in the plist with the info for the position and display I had from earlier.
Activate the app again, which would open on the second display. And then move it with the normal applescript code.
tell application "FaceTime" to quit
(do shell script "/usr/bin/defaults write ~/Library/Preferences/com.apple.FaceTime NSWindow\\ Frame\\ FaceTimeWindowFrame" & (" '2562 853 638 585 2560 240 1920 1200'") as string) --set to somewhere on my second screen
delay 1
tell application "System Events"
tell application "FaceTime" to activate
delay 4
set position of window "FaceTime" of application process "FaceTime" to {3269, 315}
end tell
But like I said not very useful. :-(
Best Answer
Try adding in a
Keyboard Shortcut
using system preferences. I have mine to execute theZoom
option located under theWindow
tab at the top of most browsers and applications. I changed theCommand + Return + Shift
from the default to my new shortcut zoom.This will resize the window to fit the screen and if a different/smaller screen size is desired, you can easily resize it using the corners from here.
It is actually much easier to resize from this resized/"Zoomed" window because moving your mouse to any of the computer screen's edges will place you directly over the edge of the window allowing you do resize the screen without mis-clicking (example of mis-clicking: causing another window/application to become active or moving the position/orientation of the window altogether).
Just add in the application you want this shortcut to work for under the
App Shortcuts
option within the "Keyboard" -> "Shortcuts" sections of system preferences.As long as any part of the top of the window is visible, then the following will work: