• 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: Scripting mail create a mailbox in a mailbox (folder)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: soap went south?
  • Next by Date: Re: soap went south?
  • Previous by thread: Re: Scripting mail create a mailbox in a mailbox (folder)
  • Next by thread: Q: 10.4.2 "Do Shell Script" revision & passwords
  • Index(es):
    • Date
    • Thread