Not Authorized to send Apple event to System Events

I get the following error message when trying to use a plugin: "Keyboard Maestro Actions/Snap Palette to Front Window/Action.scpt: execution error: Not authorized to send Apple events to System Events. (-1743)"

I have permission set up for Keyboard Maestro.


I tried the following:

•Toggle the Accessibility permissions for Keyboard Maestro and Keyboard Maestro Engine off and on again.**
• Restart
• Quit and Relaunch the Keyboard Maestro Engine
• Quit Keyboard Maestro and Keyboard Maestro Engine and run the Terminal command “tccutil reset Accessibility” and relaunch Keyboard Maestro.

Is there other settings I need to adjust?


I think this has to do with osascript and Mojave's overactive "protections". There's no way (that I know of) to add osascript to the "allowed" list.

Hopefully Peter will have some suggestions.

That is not the right permissions. The permissions that control AppleScript are in the System Preferences, Security & Privacy, Privacy, Automation - not Accessibility.

That worked! :slight_smile:
Thanks again Peter.

1 Like