Skip to content

Instantly share code, notes, and snippets.

View yossi-silberhaft's full-sized avatar

Yossi Silberhaft yossi-silberhaft

  • Tel Aviv, Israel
View GitHub Profile
on alfred_script(q)
if application "iTerm2" is running or application "iTerm" is running then
run script "
on run {q}
tell application \"iTerm\"
activate
try
select first window
set onlywindow to true
on error