for example i have something like
tell application "BetterTouchTool" if tabUrl starts with "https://www.youtube.com" then update_trigger "D529D06E-A207-4A4D-BDDE-161BF181E194" json "{\"BTTEnabled2\" : 1}" else update_trigger "D529D06E-A207-4A4D-BDDE-161BF181E194" json "{\"BTTEnabled2\" : 0}" end if end tell
but sadly once the button is hidden/disabled, i cant enable it back, so does anyone knows a solution for that ?