Allow update_touch_bar_widget scripting on regular touch bar buttons

It seems as though the update_touch_bar_widget scripting functionality is only applicable to shell script widgets. It would be awesome if we were able to change the text, bg color, etc. of regular touch bar buttons!

You can use the update_trigger to update any other trigger in BTT (the widgets are a bit special, which is why they have their own function)

Using Apple Script or JXA · GitBook (

Wasn't aware of that feature! This worked perfectly for my use case.