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

In Monterey, Applescript app not allowed to send keystrokes (1002) #9

Open
matrixbud opened this issue Oct 3, 2022 · 0 comments
Open

Comments

@matrixbud
Copy link

I have an Applescript application named "New" and I get the above message whenever I run it. I have other similar Applescript apps that have the same problem. "New" is a simple 1-line applescript to create a new folder:

      tell application “System Events” to keystroke “n” using {command down, shift down}

I have given script editor and "New" Full Disk Access and Accessibility in the Security & Privacy pref pane.

This error began when I upgraded to Monterey. I created variations of "New", for example accessing "New Finder Window" from Finder's File menu, but all of my attempts run into this same problem. I have restarted the Finder many times, and even rebooted a few times, but the error persists.

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

1 participant