Re: Scripting mail create a mailbox in a mailbox (folder)
Re: Scripting mail create a mailbox in a mailbox (folder)
- Subject: Re: Scripting mail create a mailbox in a mailbox (folder)
- From: Matt Neuburg <email@hidden>
- Date: Wed, 13 Jul 2005 15:31:21 -0700
On Wed, 13 Jul 2005 00:49:52 -0700, Matt Petrowsky <email@hidden>
said:
>It just so happens that I'm trying to write a script to do the same
>thing. Unfortunately, I don't think it can be done at this time - at
>least upon first impression. When you look at the properties listing
>in the Mail dictionary you'll see that the container: property is [r/
>o] - meaning Read only.
>
>Attempting to create then move doesn't work either. Such as the
>following.
>
>make new mailbox with properties {name:"foo"}
>move mailbox "foo" to mailbox "bar"
>
>Anyone on the list having success with creating a folder within a
>folder in Apple Mail?
I think you're supposed to give a pathname.
make new mailbox with properties {name:"foo/bar"}
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden