• 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: Saving Attachements to a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving Attachements to a folder


  • Subject: Re: Saving Attachements to a folder
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 20 Aug 2007 07:18:14 -0500

Carefully use the Mail dictionary. A 'mail attachment' is an element of a 'message' and a 'message' is an element of a 'selection'.

On Aug 20, 2007, at 6:17 AM, Ronald Hofmann wrote:

Hi everybody,
I´m trying to save the attachement of a mail (selection) to a folder.

What I have so far:

property thePath : "MacOSX:Users:ronny:Desktop:Target:"

tell application "Mail"
set x to selection --This returns a List of selected mails, in this case one mail.


	--What I would like to do
	save attachement of x to folder thePath -- This does not work.
end tell

Could somebody point me to the right direction?

_______________________________________________ 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
References: 
 >Saving Attachements to a folder (From: Ronald Hofmann <email@hidden>)

  • Prev by Date: Re: Saving Attachements to a folder
  • Next by Date: iWork/Pages problems
  • Previous by thread: Re: Saving Attachements to a folder
  • Next by thread: Re: Saving Attachements to a folder
  • Index(es):
    • Date
    • Thread