Touch Bar widget crashes BTT instantly — need help removing it from preset

Hi there,

I’ve run into an issue where a single widget in my Touch Bar setup is crashing my entire Mac the moment BTT takes over the Touch Bar.

I recently created a button that uses either AppleScript or Shell Script — likely the one returning a JSON icon update — and ever since, any time I enable BTT Touch Bar control, my entire macOS UI freezes within a second. I have to hard shut down every time.

I believe the crashing widget is an AppleScript (async in background) Touch Bar button that uses tell application "BetterTouchTool" to update_trigger ... to switch between a play and pause icon by returning a JSON string.
It was running every second to check playback state and dynamically update the button icon.
It likely has no name or a default name and was created most recently.

I’ve since disabled BTT’s Touch Bar override using Terminal, so I can open the app again — but since Touch Bar is disabled, none of my triggers or widgets show up in the UI, and I can’t access the problematic button to delete it.

Would you be willing to help me manually remove the crashing widget from my .bttpreset file?

I’ve attached the full file here:

:backhand_index_pointing_right: Preset 1.bttpreset (9.5 KB)

  • BTT version: 5.294 (2025033105)
  • macOS version: Sequoia 15.4.1

Thanks so much in advance — this would save me from having to rebuild months of work.

Best,

Cody