Skip to content

Instantly share code, notes, and snippets.

@benclark
Created July 6, 2012 12:21
Embed
What would you like to do?
Switch Terminal settings of current window
on run argv
set mySettingName to item 1 of argv
tell application "Terminal"
set myWindow to front window
set myTab to selected tab of myWindow
try
set current settings of myTab to settings set mySettingName
end try
end tell
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment