Automator "New File" workflow in Mojave returning “Not authorised to send Apple events to System Events.”
I have copied a workflow to create a new file from within the finder, saved in ~/Library/Services/. It runs fine from Automator and appears in the Finder > Services menu, but there's no "services" menu when clicking in a blank area within a folder.
I'd expect to right-click on a blank space in a folder (or the desktop) and use the contextual menu and activate it.
The main issue is that the script runs fine from within Automator, but not from the Finder:
The action “Run AppleScript” encountered an error: “Not authorised to send Apple events to System Events.”
Has anyone else had this issues with a working script?
Solution 1:
In System Preference/Security/Privacy/Automation after unlock you have to select Finder/System Events.
Then may be in Accessibility you can select Finder if you got an error.
There are some explanations : https://support.apple.com/guide/mac-help/change-privacy-preferences-on-mac-mh32356/10.14/mac/10.14