Skip to content

Instantly share code, notes, and snippets.

on run {input, parameters}
-- RCF: Quick Action for folders in Finder.app
-- Opens a new terminal window within the passed folder.
-- V2: Opens for every selected folder.
if (exists input) then
repeat with folderPath in input
set POSIXPath to POSIX path of folderPath
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"