How can I: Create a Toggle Button on the Button Bar

RandyChuck

New member
I'd like to be able to create buttons on the button bar that toggle between two states. For example, turn off Google Assistant / turn on Google Assistant. The way I do this now is to create two buttons on the bar, each with a different macro. It works fine, but if its worth doing its worth over-doing, right!?
It would save space on my button bar and be cool if there was a mechanism to create a single toggle button.
Extra credit: it would be slick if the button icon changed to show the current state....
I haven't found a way to make this work yet. Anyone have any ideas? I'll submit a feature request if this currently cant be done.
 

Dm114

Well-known member
I'd like to be able to create buttons on the button bar that toggle between two states. For example, turn off Google Assistant / turn on Google Assistant. The way I do this now is to create two buttons on the bar, each with a different macro. It works fine, but if its worth doing its worth over-doing, right!?
It would save space on my button bar and be cool if there was a mechanism to create a single toggle button.
Extra credit: it would be slick if the button icon changed to show the current state....
I haven't found a way to make this work yet. Anyone have any ideas? I'll submit a feature request if this currently cant be done.
First toggle or set a boolean variable according to your app state. Then set Button Bar Image according to this boolean variable.
 
Top