Page 1 of 1

Switching themes

Posted: Sun Oct 14, 2018 5:52 pm
by blackketter
Does anybody have a suggestion as to how to switch themes via AppleScript?

I'd love to have LaunchBar move to a different theme when I switch between Mojave Dark and Light mode.

Re: Switching themes

Posted: Tue Oct 16, 2018 4:00 pm
by blackketter
I figured it out, in case anybody else has this question, I used the following the following to set to the Default theme:

Code: Select all

do shell script "defaults write at.obdev.LaunchBar Theme at.obdev.LaunchBar.theme.Default"

Similarly, from Terminal it would be:

Code: Select all

defaults write at.obdev.LaunchBar Theme at.obdev.LaunchBar.theme.Default