Skip to content

Instantly share code, notes, and snippets.

@nagakputtagunta
Created November 5, 2012 14:46
Show Gist options
  • Save nagakputtagunta/4017530 to your computer and use it in GitHub Desktop.
Save nagakputtagunta/4017530 to your computer and use it in GitHub Desktop.
An Applescript to Open Profiles in iTerm 2
on alfred_script(q)
set profileToOpen to item 1 of q
tell application "iTerm"
activate
tell the first terminal
launch session profileToOpen
end tell
end tell
end alfred_script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment