update_trigger to 0 is not working

(alpha) 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.


Describe the bug
When I use the update_trigger, setting BTTenabled to 1 works, but setting it to 0 has no effect. I found that when "enabled" is set to 1, this field is missing from the JSON.


Device information:

  • Type of Mac: macbook pro m1
  • macOS version: 15.7
  • BetterTouchTool version: 5.629

the json excludes standard properties to reduce the size / improve the readability.

Setting to 0 should work fine, with what kind of trigger are you trying to do this?

I just tried again—still no luck. Neither AppleScript nor the CLI works. Setting the trigger to 0 fails; I tried setting a group or an individual key-sequence trigger, but neither worked. Setting it to 1 is fine.

In general always set BTTEnabled and BTTEnabled2 to 0/1:

tell application "BetterTouchTool" to update_trigger "2F34005D-4537-464D-94E9-A7F42DA39DF1" json "{BTTEnabled: 0, BTTEnabled2: 0}"

Ah you are right, there is currently a problem with setting it to 0!

I'll fix it with the next alpha.

Should be resolved in 5.630 alpha! (building & uploading now)

Excellent—hats off to you.

All good now. I also noticed the AI window transparency issue has been fixed—great!