Created
March 5, 2015 18:12
-
-
Save omoshetech-t/c06c2772c17e27b33c7f to your computer and use it in GitHub Desktop.
Open a specific folder in the Terminal.app.
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} | |
set command to "cd " & POSIX path of input | |
tell application "Terminal" | |
if application "Terminal" is running then | |
activate | |
do script command | |
else | |
launch | |
activate | |
do script command in window 1 | |
end if | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment