Re: Cannot open "On My Mac" mailboxes
Re: Cannot open "On My Mac" mailboxes
- Subject: Re: Cannot open "On My Mac" mailboxes
- From: Luther Fuller <email@hidden>
- Date: Sat, 05 May 2012 12:24:15 -0500
On May 5, 2012, at 8:37 AM, Tom Lyon wrote:
> But seriously, lack of documentation is killing me. I'm trying to adapt your simple code to move highlighted/selected messages to the folder of choice. It functions properly for a mailbox in the top hierarchy of "On My Mac" but generates an error ('Error: Mail got an error: Can't get mailbox "some mailbox" Error Number: -1728') for any mailboxes that are in a lower hierarchy.
You may need to refer to a mailbox by its full path name. If you have mailbox "A" at the top level which contains mailbox "H" which contains mailbox "Z", then you have to refer to mailbox "Z" as mailbox A/H/Z.
I haven't done this in a while, so Im not completely sure. Some experimenting is in order.
_______________________________________________
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