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