Re: Mail attachments
Re: Mail attachments
- Subject: Re: Mail attachments
- From: Yvan KOENIG <email@hidden>
- Date: Wed, 30 Dec 2015 22:21:32 +0100
Le 2015/12/30 à 22:10, Brian Christmas < email@hidden> a écrit :
G’day Yvan
Just a complete guess, but have you tried a delay in the code?
Regards
Santa
Thanks Brian
I really don't guess what a delay may change because at execution time, the instruction : get every mail attachment of theMessage
is correctly trying to do : get every mail attachment of message id 100683 of mailbox "INBOX" of account "iCloud"
I tried :
tell application "Mail" activate set theMessage to item 1 of (get selection) delay 0.5 tell theMessage delay 0.5 get every mail attachment -- of theMessage end tell
# code saving the attached files on disk end tell
The events log was :
tell application "Mail" activate get selection get every mail attachment of message id 100683 of mailbox "INBOX" of account "iCloud" Résultat : error "Erreur dans Mail : Le gestionnaire AppleEvent a échoué." number -10000
Yvan KOENIG running El Capitan 10.11.2 in French (VALLAURIS, France) mercredi 30 décembre 2015 22:21:12
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden