Re: Running AppleScripts from 4D under Catalina

2020-12-05 Thread Bernd Fröhlich via 4D_Tech
Peter Adam: > This has been working fin from v17R6 under Mojave but returns a message that > it can’t find Mail on Catalina. You have to go to System Preferences->Security->Privacy then choose "Automation" and click the checkbox next to 4D to allow it. Maybe "Full disc access" has to be granted

Re: Running AppleScripts from 4D under Catalina

2020-12-03 Thread Keisuke Miyako via 4D_Tech
it depends on how you implement automation. are you calling osascript via launch-external-process? to control the Mail app, normally you need to use AEDeterminePermissionToAutomateTarget https://github.com/miyako/4d-plugin-apple-file-promises/blob/master/apple-file-promises/4DPlugin.cpp to

Re: Running AppleScripts from 4D under Catalina

2020-12-03 Thread nug via 4D_Tech
I have no experience with this — at all— I remember reading that there are issues using Apple script with 10.14+ I believe there are new commands in 4D to manage email directly - Try looking into those. Also, sad as I am to say this, you will get better response from the new forum. Chip > On

Running AppleScripts from 4D under Catalina

2020-12-03 Thread Peter Adam via 4D_Tech
I have an app where when the user wants to send an email from 4D, the program builds an AppleScript to communicate with either Mail or Outlook. This has been working fin from v17R6 under Mojave but returns a message that it can’t find Mail on Catalina. I have code signed and notarised the app,