Switcher instead of a button

#1

Hello, is there a possibility to use a switch button, which would switch between on/off? For example, let's assume I want a button, which would hide my bookmark panel and show it when I press the same button next time.

Can you help?

thx

0 Likes

Button to Toggle two BTT Actions?
#2

You can make this work with and Apple script Widget and alternative icons. Keep in minds that you can't "drag" this switch, only press it.

0 Likes

#3

This Applescript seems to do the trick on it’s own: https://apple.stackexchange.com/questions/219730/applescript-toggle-to-do-this-this-time-and-that-next-time

But I’m still figuring out how do use this as a "Run Applescipt and show return Value" BTT Touch Bar widget...

0 Likes

#4

Here is an example how to use one button to trigger two different actions using apple script, variables and named triggers

0 Likes

#5

Thanks!

0 Likes