Wie kann ich einen Mail-Entwurf erzeugen?

Hallo allesamt,

ich möchte einen kurzen Text als Mail unter Entwürfe in Apple-Mail generieren.
Geht das mit Xojo?

Vielen Dank und liebe Grüße
Britta

Klar geht das. Weit Du, wie man AppleScripts einbindet?

Das eigentliche Script ist nicht so kompliziert:

property theSubject: '"" property theBody: "" tell application Mail" set newMessage to make new outgoing message with properties {subject: theSubject, content: theBody} tell newMessage set visible to true end tell end tell

Prima, hat geklappt.
Ich habe mir AppleScript angesehen und gleich einen “on run” Handler in dein Script eingebaut um die Parameter für die Mail zu übergeben.
Klappt alles wie gewollt! Danke!!

Liebe Grüße
Britta