Created
July 2, 2019 16:52
-
-
Save RyanFleck/90a1a2893f54f728f72a7c3dabd7a7b0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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} | |
-- RCF: Quick Action for folders in Finder.app | |
-- Opens a new terminal window within the passed folder. | |
set POSIXPath to POSIX path of input | |
set newDirCmd to ("cd " & POSIXPath & " && clear") | |
(* Your script goes here *) | |
tell application "Terminal" | |
do script newDirCmd | |
activate | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment