Created
May 18, 2019 01:10
-
-
Save tennisonchan/420c77e47a12b8f3478ece7cdb9897c6 to your computer and use it in GitHub Desktop.
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
launch application "/Applications/iTerm.app" | |
tell application "iTerm" | |
create window with default profile | |
set session1 to current session of current window | |
tell session1 | |
write text "dev" | |
write text "pin" | |
set session2 to (split vertically with default profile) | |
end tell | |
tell session2 | |
write text "dev" | |
write text "opt" | |
set session3 to (split horizontally with default profile) | |
end tell | |
tell session3 | |
write text "dev" | |
write text "bulk" | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment