Skip to content

Instantly share code, notes, and snippets.

@joeSaad
Last active July 30, 2017 23:08
Show Gist options
  • Save joeSaad/8abfac1d048f014b2af95ebb08071d20 to your computer and use it in GitHub Desktop.
Save joeSaad/8abfac1d048f014b2af95ebb08071d20 to your computer and use it in GitHub Desktop.
Run shell script using an automator
on run {input, parameters}
tell application "Terminal"
if not (exists window 1) then reopen
activate
do script "test1" in window 1
delay 2
close window 1
end tell
return input
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment