Note: Before bug reporting, please make sure you have tried the latest (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
AppleScript does not run with keyboard shortcut. In BTT, clicking "Run Script" works perfectly, but using the corresponding keyboard shortcut does not trigger the AppleScript. To make sure the keyboard shortcut is even triggering, I added a HUD overlay showing "test" (which does show up so the keyboard shortcut itself works).
I'm seeing the same behavior for "Execute Shell Script" on a Menubar item. Clicking the menu bar item previously executed the script but some time in the last couple months, it stopped working. The script still runs successfully with "Run script now"
To test terminal command execution I usually use something simple like "say "hello", if that runs any other script will run if the paths and environment is provided correctly.
For Apple Scripts it is more complicated because macOS only executes one Apple Script at a time. If for some reason a previous Apple Script has not finished, it might block execution for others.
In blocking Apple Scripts you should also avoid to call "tell application "BetterTouchTool" because that could cause a dead lock in some situations. Have you tried to run your Apple Script with the "async in background" version?
tell application "System Events"
tell process "Safari"
click ((UI elements of group 3 of toolbar 1 of window 1) whose description is myButton)
end tell
end tell
tell application "BetterTouchTool" to display_notification "test"