Created
December 3, 2015 18:15
-
-
Save th3james/a4a2e82d3d3a68211317 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
tell application "iTerm" | |
activate | |
set term to (make new terminal) | |
tell term | |
set serverSession to (launch session "Default Session") | |
tell serverSession | |
set name to "server" | |
write text "cd src/projectname" | |
write text "node luxserver.js" | |
end tell | |
set cmdsession to (launch session "Default Session") | |
tell cmdsession | |
write text "cd src/projectname" | |
write text "open -a MacVim ." | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment