• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting mail attachments in Yosemite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting mail attachments in Yosemite


  • Subject: Re: Scripting mail attachments in Yosemite
  • From: Tiago Mendo <email@hidden>
  • Date: Mon, 20 Oct 2014 11:42:06 +0100

I having the same problem, I cannot count the number of attachments. Do you have any idea on how to iterate over the attachments?


Hi,


I am getting this even after reboots.

 It does not happen for every message with image attachments but defiantly Forwarded emails. And  I notice it also happens on any emails that contain video?

simple script that is being used



tell application "Mail"
set selectedMessages to (get selection)
repeat with theMessage in selectedMessages

set theCount to count of theMessage's mail attachments


end repeat

end tell

Does any one have any clues?

 _______________________________________________
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

  • Follow-Ups:
    • Re: Scripting mail attachments in Yosemite
      • From: 2551 <email@hidden>
  • Prev by Date: Re: scripting Illustrator CS6
  • Next by Date: Re: Scripting mail attachments in Yosemite
  • Previous by thread: Re: Scripting mail attachments in Yosemite
  • Next by thread: Re: Scripting mail attachments in Yosemite
  • Index(es):
    • Date
    • Thread