How to avoid "not authorized to send Apple events to System Events (-1743)" in MacOS Ventura for service launched from keyboard shortcut

I am attempting to follow the instructions here (the "fullscreen.scpt" solution) to create a keyboard shortcut that toggles a window to full screen with no menu bar. On MacOS Ventura 13.4, I always get the error "Not authorized to send Apple events to System Events. (-1743)." Normally, I would expect a prompt to appear the first time the action is run asking me to give permission, but that never happens. I also do not see any place in Security/Privacy settings (e.g. under Automation) where I can allow this action. I've also tried running the compiled app from the terminal command line (i.e. "open fullscreen.app") and I get the same error there, with no option to give permission. I've tried adding the app under Privacy/Security-->Accessibility, but it makes no difference. How can I get around the 1743 error?



iMac 27″, macOS 10.15

Posted on Jun 14, 2023 01:11 PM

Reply

Similar questions

2 replies

Jun 14, 2023 03:50 PM in response to ajkessel

ajkessel wrote:

I am attempting to follow the instructions here (the "fullscreen.scpt" solution) to create a keyboard shortcut that toggles a window to full screen with no menu bar. On MacOS Ventura 13.4, I always get the error "Not authorized to send Apple events to System Events. (-1743)." Normally, I would expect a prompt to appear the first time the action is run asking me to give permission, but that never happens. I also do not see any place in Security/Privacy settings (e.g. under Automation) where I can allow this action. I've also tried running the compiled app from the terminal command line (i.e. "open fullscreen.app") and I get the same error there, with no option to give permission. I've tried adding the app under Privacy/Security-->Accessibility, but it makes no difference. How can I get around the 1743 error?



How about adding to the "Full Disk Access" folder to >System Settings>Privacy & Security


Terminal.app ?

Script Editor.app ?

Automator.app ?


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to avoid "not authorized to send Apple events to System Events (-1743)" in MacOS Ventura for service launched from keyboard shortcut

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.