Re: Scripting mail attachments in Yosemite
Re: Scripting mail attachments in Yosemite
- Subject: Re: Scripting mail attachments in Yosemite
- From: 2551 <email@hidden>
- Date: Mon, 20 Oct 2014 18:00:42 +0700
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