Skip to content

Instantly share code, notes, and snippets.

@baniol
Last active December 17, 2015 02:49
Show Gist options
  • Save baniol/5538648 to your computer and use it in GitHub Desktop.
Save baniol/5538648 to your computer and use it in GitHub Desktop.
runs dev environment for the responsive-tester app, 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 ~/coffee_script/tester"
write text "hotnode server.js"
end tell
launch session "Guake"
tell the last session
set name to "mui sass"
write text "cd ~/coffee_script/tester/sass"
write text "compass watch"
end tell
launch session "Guake"
tell the last session
set name to "mui sass"
write text "cd ~/coffee_script/tester"
write text "cake watch"
end tell
launch session "Guake"
tell the last session
set name to "mui chrome"
write text "cd ~/coffee_script/tester"
write text "subl ."
write text "chrome http://localhost:8080"
end tell
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment