Re: Mail: save attachment fails in Mountain Lion 10.8.2
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