Created
December 30, 2013 23:14
-
-
Save JGallardo/8189836 to your computer and use it in GitHub Desktop.
example of how to startup a computer to do various things
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
on run args | |
set home to (POSIX path of (path to home folder)) as string | |
tell application "iTerm" | |
activate | |
set myTerm to (make new terminal) | |
tell myTerm | |
repeat with i from 1 to 6 | |
set newTab to (make new session at the end of sessions) | |
tell newTab | |
set name to "My tab " & i | |
exec command "/bin/bash" | |
write text "cd " & home & "/Desktop/myfiles/test-projects/bruxzir-express-test/" | |
write text "node app.js" | |
end tell | |
end repeat | |
end tell | |
end tell | |
tell application "Skitch" | |
activate | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment