Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "AntiRSI"
- launch
- end tell
- set intnt to do shell script "ping -c 1 google.com; echo -n"
- set paras to number of paragraphs in intnt
- if paras < 5 then
- else
- tell application "System Events"
- tell process "Finder"
- keystroke "2" using option down
- end tell
- end tell
- tell application "Safari"
- activate
- end tell
- end if
- delay 3
- tell application "System Events"
- tell process "Finder"
- keystroke "1" using option down
- end tell
- end tell
- tell application "iTerm"
- activate
- tell the first terminal
- launch session "Default Session"
- tell the last session
- write text "cd ~/src/clojure-projects/path/to/project/"
- write text "e ."
- write text "lein swank"
- end tell
- end tell
- end tell
Add Comment
Please, Sign In to add comment