I made a Custom View plugin and loaded it to BTT. The plugin has a few fields. If I change a field in BTT, the plugin updates its view on the touch bar, so everything works.
Is it possible to set those plugin fields with AppleScript?
If I copy the json of my plugin widget (in old UI), I see my variables:
"BTTTriggerConfig" : {
...
"plugin_var_info_text_bw" : "31 GB",
...
}
I then tried:
tell application "BetterTouchTool"
update_trigger "UUID" json "{"BTTTriggerConfig" : {"plugin_var_info_text_bw" : "55 GB"}}"
end tell
But the variable does not get updated visually or in this json. Any ideas?