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
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
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
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,
4 matches
Mail list logo