Hi,
I've created the following simple script to click on a Service Extension that Soulver 3 adds to macoOS; to make calculations system-wide. When running in BTT (both async or blocking AppleScript), absolutely nothing happens; no action, no errors, nothing. When running on Script Editor, it works as expected and clicks on the corresponding item.
tell application "System Events" to tell process (name of first application process whose frontmost is true) to click menu item "Calculate & Append" of menu 1 of menu item "Services" of menu 1 of menu bar item 2 of menu bar 1
Any ideas why this might be happening? I've never seen this behavior where something works when running elsewhere but doesn't do anything in BTT. Thanks.
PS: I don't want to set a keyboard shortcut to the action in System Settings and use that instead, as that usually eats the first press and I have to manually click the menu item; then it starts working (this happens unrelated to BTT; is how this is behaving for me in macOS)