Describe the bug
running the following AppleScript does nothing:
tell application "BetterTouchTool"
update_touch_bar_widget "9371233F9-24F3-4AD7-883F-7DE9E2D3FA30" background_color "100,100,0,100"
instead of changing the widget colour as expected
Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Type of Mac: MacBook Pro
macOS version: 10.12.6
BetterTouchTool version: 2.530
Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):
Note: Before bug reporting, please make sure you have the latest version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app from the "User Diagnostic Reports" section.
is anyone else having this issue or is it just me?
It seems to be working when using webserver endpoints
Unfortunately I currently can't test because my Touch Bar system is already on the Mojave DP 5 which breaks button background colors for everything
However it seems to update the values in the widget correctly for me. Are you sure your UUID is correct (and make sure it is a widget, not a normal Touch Bar button)?
To update a normal button you'd need to use the "update_trigger" function.
Thanks -- I did get it working with "update_trigger" -- I had tried that before & it didn't work but I wasn't escaping all the JSON.
tell application "BetterTouchTool" update_touch_bar_widget "9371233F9-24F3-4AD7-883F-7DE9E2D3FA30" background_color "100,100,0,100" end tell
Thanks for sharing this. I'm a bit confused on this though, do you have an example preset that you could share where you are using this?
From my other post that you commented on, I'm just trying to have a mute button, that has a dark red color when the system is actually muted.
Take a look at the Microphone Mute button in my preset. A very small modification to it should do exactly what you want. Well, as long as you're not on Mojave DP5
Am I crazy? I'm not seeing a microphone mute in the GC-BTT? Not in my import or in your screenshots?
I don't want to outright
say you're crazy, but...
Hİ. i had same issue. can you share full script for background color ? it didn't work for me