Skip to content

Instantly share code, notes, and snippets.

@baniol
Last active December 16, 2015 12:58
Show Gist options
  • Save baniol/5437862 to your computer and use it in GitHub Desktop.
Save baniol/5437862 to your computer and use it in GitHub Desktop.
developer env for node / client js project, applescript
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