• 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 scripting : How to select…
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail scripting : How to select…


  • Subject: Re: Mail scripting : How to select…
  • From: Philip Aker <email@hidden>
  • Date: Fri, 09 May 2008 17:48:31 -0700

On 08-05-09, at 15:55, Luther Fuller wrote:

On May 9, 2008, at 4:50 PM, Axel Luttgens wrote:
I guess you are in fact thinking about the "custommailbox/submailbox/subsubmailbox" naming scheme.
But that seems to only apply to user-defined mailboxes, as a kind of shortcut.
The general rule for naming is: mailbox "subsubmailbox" of mailbox "submailbox" of mailbox "custommailbox" (with in this case the top-level piece being a mailbox, not an account).
By asking for
name of mailbox "custommailbox/submailbox/subsubmailbox"
you'll anyway get "subsubmailbox", not "custommailbox/submailbox/subsubmailbox".

I've just finished rewriting some Mail code that worked in Tiger so that it would work in Leopard.
Surprisingly, the only change I found is that in
Tiger mailbox names are slash-delimited,
while in Leopard, they are colon-delimited.

???

I run this on Leopard 10.5.2:

tell application "Mail"
properties of mailbox "apple/applescript"
end tell

and it works fine. But if I run this:

tell application "Mail"
properties of mailbox "apple:applescript"
end tell

I get an error.

Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Sent from my SE/30

 _______________________________________________
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

References: 
 >Mail scripting : How to select… (From: awaw <email@hidden>)
 >Re: Mail scripting : How to select… (From: Luther Fuller <email@hidden>)
 >Re: Mail scripting : How to select… (From: awaw <email@hidden>)
 >Re: Mail scripting : How to select… (From: Axel Luttgens <email@hidden>)
 >Re1: Mail scripting : How to select… (From: awaw <email@hidden>)
 >Re: Re1: Mail scripting : How to select… (From: Axel Luttgens <email@hidden>)
 >Re: Mail scripting : How to select… (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Mail scripting : How to select…
  • Next by Date: Re: Re1: Mail scripting : How to select…
  • Previous by thread: Re: Mail scripting : How to select…
  • Next by thread: Re: Re1: Mail scripting : How to select…
  • Index(es):
    • Date
    • Thread