Mojave beta 6 breaks Applescripts

Since updating to beta 6 a numebr of Applescripts fail.

Error message is 'Not authorised to send Apple events to Microsoft Outlook. (-1743)' - helpfu;ly error -1743 is not lsited in teh Applescript documentation.

Cant find a way to authjorise this - a mjor limnitation to m,y workflow!


Any ideas???

Replies

This worked for me, but it requires converting to an app first!


1. Open the app's plist file is xcode

2. add row (from right click context menu)

3. in ‘key’ column select ‘Privacy - AppleEvents Sending Usage Description’ from the drop down menu (you need to scroll down)

4. add ‘This script needs to control other applications to run.' in the value column.

5. Build the application again... it should now prompt for accessibility and automation permissions.


Hope it helps...

This also worked for me but because of the way in which my application invokes AppleScript I did not have to convert the script to an application.

This isn't going to work for me as I generate my AppleScript's from a shell-script and then simply use osascript to execute it.

Thank you @RalphyT!!!!


Your answer worked for me! You saved me a lot of grief after hours of combing through forum threads!


I created an account, just to thank you, so thank you again!