Set An OSX Window To A Specific Size

This is a handy tip: I wanted to set a terminal window to a specific size, to check it was going to work on a projector later. This command line does the trick:

$ osascript -e 'tell application "terminal" to set the bounds of the first window to {0, 0, 1280, 720}'

That's {left, top, right, bottom}.