• 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: Mail: save attachment fails in Mountain Lion 10.8.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail: save attachment fails in Mountain Lion 10.8.2


  • Subject: Re: Mail: save attachment fails in Mountain Lion 10.8.2
  • From: Lists <email@hidden>
  • Date: Tue, 25 Sep 2012 19:44:37 -0700

On Sep 25, 2012, at 5:26 PM, Neil Faiman <email@hidden> wrote:

What I seem to have discovered is that "save _attachment_ in _path_" no longer works, but that if you change it to "save _attachment_ in FILE _path_", it works just fine.

Regards,

Neil Faiman

In the script I was using, this line which worked last week (or month),

"set filePath to ((path to documents folder) as string) & "Mail Attachments:" & fileName"

was inside a tell app "Mail" block (as well as inside a repeat loop making unnecessary OSAX calls). That was incorrectly returning:

path to documents folder
--> alias "Sox:Users:j:Library:Containers:com.apple.mail:Data:Documents:"

Getting "path to documents folder" out of the Mail tell block fixed it


J
 _______________________________________________
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: Mail: save attachment fails in Mountain Lion 10.8.2
      • From: "koenig.yvan" <email@hidden>
References: 
 >Mail: save attachment fails in Mountain Lion 10.8.2 (From: Neil Faiman <email@hidden>)
 >Re: Mail: save attachment fails in Mountain Lion 10.8.2 (From: Lists <email@hidden>)
 >Re: Mail: save attachment fails in Mountain Lion 10.8.2 (From: Neil Faiman <email@hidden>)

  • Prev by Date: Re: Mail: save attachment fails in Mountain Lion 10.8.2
  • Next by Date: Re: Mail: save attachment fails in Mountain Lion 10.8.2
  • Previous by thread: Re: Mail: save attachment fails in Mountain Lion 10.8.2
  • Next by thread: Re: Mail: save attachment fails in Mountain Lion 10.8.2
  • Index(es):
    • Date
    • Thread