System events got an error: shortcuts is not allowed to send keystrokes
Hello everyone,
I have a shortcut that contains a series of Apple Scripts to simulate keystrokes. Everything works correctly, the shortcut does exactly what I need.
However, I have it automated to run in the morning after I wake up my Mac (Mac Studio 2022), and it wasn't running automatically. So, I tested it manually, and now I get the error "System events got an error: shortcuts is not allowed to send keystrokes".
After searching online, I found many users with the same issue, but none of the answers to the issue are working for me. I've given permissions to Shortcuts in Privacy and Security/Accessibility of System Settings, which worked the first time (I was able to run the shortcut manually). This was yesterday. Today, the same thing happened, and now, not only does it not run automatically, but I can't make it work manually either. I always get the same error.
Is there any other setting I might want to change? Any other ideas?
Thank you so much!
Rui
Mac Studio, macOS 14.5