I would like to control mac osx terminal via applescript as follows:
when I press Command-N, I get a new terminal session for localhost (as usual)
when I press Command-Shift-N, I open a new terminal session with a different background color, with an ssh session to a machine (with config specified in ~/.ssh/config)
How do I accomplish this using applescript ?