Skip to content

Instantly share code, notes, and snippets.

@lincolndbryant
Last active December 28, 2015 01:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lincolndbryant/7422658 to your computer and use it in GitHub Desktop.
Save lincolndbryant/7422658 to your computer and use it in GitHub Desktop.
work.scpt
tell application "Terminal"
activate
do script "cd ~/dev/src/Content3/content_web/content_web"
do script "workon content" in front window
do script "sh admin.sh local runserver" in front window
my makeTab()
do script "cd ~/dev/src/Content3/content_web/content_web/public" in tab 2 of front window
do script "workon content" in tab 2 of front window
do script "sh admin.sh local runserver localhost:8001" in tab 2 of front window
my makeTab()
do script "cd ~/dev/src/hubspot_static_daemon" in tab 3 of front window
do script "./hs-static run" in tab 3 of front window
my makeTab()
do script "cd ~/dev/src/Content3" in tab 4 of front window
do script " sudo vee" in tab 4 of front window
end tell
on makeTab()
tell application "System Events" to keystroke "t" using {command down}
delay 0.2
end makeTab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment