Mojave - Not authorised to send Apple events to Mail


(David) #1

I’ve upgraded to Mojave and now get an error Not authorised to send Apple events to Mail. when I try to run:

**tell application “Mail” to set ListMessage to selection – take all emails selected

How do I fix this?


(David) #2

This error does not occur when I use Script Editor, only Script Debugger.

I have given Script Debugger Full Disk Access in the Security & Privacy section of Settings.


(Shane Stanley) #3

You need to give Script Debugger permission under Automation, not (or as well as) Full Disk Access.


(David) #4

This seems to have done the trick. Thanks!