Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

applescript.ScriptError: Not authorized to send Apple events #9

Open
comdotdom opened this issue Apr 18, 2021 · 1 comment
Open

applescript.ScriptError: Not authorized to send Apple events #9

comdotdom opened this issue Apr 18, 2021 · 1 comment

Comments

@comdotdom
Copy link

Attempting to use py-applescript to move geeklets in my GeekTools setup.
Copied existing, working AppleScript into python as string to run (from PyCharm as test script).

Got the following error:

applescript.ScriptError: Not authorized to send Apple events to GeekTool Helper. (-1743) app='GeekTool Helper' range=49-57

@RhetTbull
Copy link

Try running from Terminal.app. Due to System Integrity Protection (SIP), the app that runs the script must ask for permission the first time to send scripting events. It may be that PyCharm isn't doing this. Terminal will.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants