Re: Scripting mail attachments in Yosemite
Re: Scripting mail attachments in Yosemite
- Subject: Re: Scripting mail attachments in Yosemite
- From: Tiago Mendo <email@hidden>
- Date: Mon, 20 Oct 2014 14:27:06 +0100
The following line also does not work in Yosemite repeat with theAttachment in theMessage's mail
It simply does not return any attachment so it won't enter the cycle. Has anybody opened a bug report to apple yet?
Do you have any idea on how to iterate over the attachments?
I haven't tried this in Yosemite, but it used to work in Mavericks:
tell application "Mail" set selectedMessages to theMessages try repeat with theMessage in selectedMessages repeat with theAttachment in theMessage's mail attachments
//do something end repeat end repeat end try end tell
Phil.
|
_______________________________________________
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