Hello! I just recently got BMT and I mostly want to use it to send AppleScript events to QLab 5. However, every script I send to QLab returns the error:
OUT 0.0 ERROR executing AppleScript: action_0_0(): error -1743: Not authorized to send Apple events to QLab.
I’ve given the program permissions in the Accessibility window of System Preferences, but it never requested automation permissions. I’ve uninstalled and re-installed the program, restarted my mac, and am running the script from a blank workspace with no other AppleScript in it. The script I’m using compiles and runs in ScriptEditor and QLab. I’ve also tried sending simple scripts to other programs and they return similar errors. Is there a way to request the necessary permissions? Is there something I need to do to set up each project to properly output AppleScript?
What version of MacOS are you running? I’m running Ventura 13.6 and testing this short project file and it works fine. It just sizes and centers MT Pro on my screen. I’m on Intel 64 bit (not M1).
Hey Steve,
Thanks for the relpy! I had apparently forgotten to update this laptop from Big Sur, so I updated it last night (to Sonoma 14.1.1) and am still running into the same error. The preset file that you attached also returns
OUT 0.0 ERROR executing AppleScript: action_0_0(): error -1743: Not authorized to send Apple events to System Events.
The scripts I’ve been testing with are
tell application "Spotify"
set sound volume to 0
end tell
and
tell application id "com.figure53.qlab.5" to tell front workspace
start cue "mq1"
end tell
Both give the same error in regards to the app I’m trying to send commands to. In System Prefs> Privacy & Security > Accessibility I’ve enabled Bome MIDI Translator Pro, so I think it should at least be able to control System Events. It never asked me for any permissions and does not appear in the ‘Automation’ tab. Will try re-installing now to see if the new OS will ask for permissions
I have the same problem with QLab. Are you running a full license? Do you have QLab set to authorize AppleScript. I’m running in Demo mode. It recognizes from Script Editor but not from MT Pro. Also I tried with Keyboard Maestro and it didn’t work but scripts to talk to the system seem to work. I’m not an Mac expert on security matters so maybe QLab or Apple can help.
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz