Created
December 13, 2012 22:24
-
-
Save vanrijn/4280623 to your computer and use it in GitHub Desktop.
Applescript to launch a new iTerm2 window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "iTerm" | |
-- activate | |
-- Create a new terminal window... | |
set myterm to (make new terminal) | |
-- ... and go on within this one. | |
tell myterm | |
-- Set the terminal size constraints. | |
set number of columns to 80 | |
set number of rows to 24 | |
-- Array/List which will hold all our sessions (empty | |
-- by default OFC). | |
set sessionList to {} | |
launch session "Default" | |
end tell | |
-- set the bounds of the first window to {w, x, y, z} | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment