Last active
December 16, 2015 12:58
-
-
Save baniol/5437862 to your computer and use it in GitHub Desktop.
developer env for node / client js project, applescript
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 30 | |
-- set number of rows to 30 | |
launch session "Guake" | |
tell the last session | |
set name to "mui server" | |
write text "cd ~/Projects/Mosync/mocca/LocalFiles/" | |
write text "hotnode server.js" | |
end tell | |
launch session "Guake" | |
tell the last session | |
set name to "mui sass" | |
write text "cd ~/Projects/Mosync/mocca/LocalFiles/sass/" | |
write text "compass watch" | |
end tell | |
launch session "Guake" | |
tell the last session | |
set name to "mui chrome" | |
write text "chrome http://localhost:8080" | |
write text "cd ~/Projects/Mosync/mocca/LocalFiles/" | |
write text "subl ." | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment