Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Would love to know if there is a way to switch all my current tabs to a different profile on the fly.

The use-case being to change Terminal profile from a dark to a light theme, and vice versa, depending on a user's current mood/preference. This can be achieved manually by right clicking on a Tab header and choosing "Inspect tab", and then changing the theme for each tab.

The other option is to close down all the open tabs and reopen them with a new theme, again suboptimal IMHO.

Hope someone has a better way :)

share|improve this question
up vote 4 down vote accepted

Create an AppleScript like this one, and call it something like TerminalNightMode:

tell application "Terminal"
    set current settings of tabs of windows to settings set "Pro"
end tell

You can replace the "Pro" setting with the setting name of your choice. When you run this AppleScript, it will change the settings for all the tabs in all windows. I recommend putting this script on the dock for easy access. Likewise, you can make another script for day mode.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.