Skip to content

Instantly share code, notes, and snippets.

View yo-epicdavid's full-sized avatar
🏠
Working from home

David Domingo yo-epicdavid

🏠
Working from home
View GitHub Profile
@yo-epicdavid
yo-epicdavid / TransmitOpenTerminal.txt
Created August 15, 2018 18:58 — 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/
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 ""