Skip to content

Instantly share code, notes, and snippets.

@emaysyuk
emaysyuk / Open iTerm Here
Last active December 21, 2019 09:22
Automator script that opens iTerm in current folder (script can be binded to macOS Finder toolbar)
on run {input, parameters}
tell application "Finder"
set dir to quoted form of (POSIX path of (folder of the front window as alias))
if application "iTerm" is running then
tell application "iTerm"
tell current window
create tab with default profile