Hier ist ein Beispiel-Script, das mit Apples Mail-App funktioniert. Es erstellt eine neue Messsage und fügt die Vcard vom angegebenen Dateipfad als Attachment am Ende der Message ein:
tell application "Mail"
set theMsg to make new outgoing message
tell theMsg to make new attachment with properties {file name:"Mac HD:Users:tom:test_folder:testcard.vcf"} at after last paragraph
end tell
Ich hab kein Airmail mehr auf dem Rechner, aber soweit ich mich erinnern kann, ist Airmail auch scriptable.
– TomPlease login or Register to submit your answer

