Last active
July 30, 2017 23:08
-
-
Save joeSaad/8abfac1d048f014b2af95ebb08071d20 to your computer and use it in GitHub Desktop.
Run shell script using an automator
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 {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