Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

David Domingo Snesi

🏠
Working from home
View GitHub Profile
@Snesi
Snesi / TransmitOpenTerminal.txt
Created Aug 15, 2018 — forked from johnfmorton/TransmitOpenTerminal.txt
Use Transmit 5 to open in iTerm (instead of Terminal.app) as mentioned here https://library.panic.com/transmit5/open-in-terminal/
View TransmitOpenTerminal.txt
on openTerminal(location, remoteHost, serverPort)
tell application "System Events"
-- some versions might identify as "iTerm2" instead of "iTerm"
set isRunning to (exists (processes where name is "iTerm")) or (exists (processes where name is "iTerm2"))
end tell
tell application "iTerm"
activate
set targetTab to ""