Re: Applescript with Mail eat the Apple!…
Re: Applescript with Mail eat the Apple!…
- Subject: Re: Applescript with Mail eat the Apple!…
- From: "Mark J. Reed" <email@hidden>
- Date: Sat, 19 Apr 2008 10:23:47 -0400
"Every A whose B of its C is D.". Remember, kids: don't learn English
from AppleScript. :)
On 4/19/08, Philip Aker <email@hidden> wrote:
> On 08-04-19, at 05:54, awaw wrote:
>
> > A very strange behavior!
> >
> > Give to a mailbox the name "Apple".
> > Under application Mail there is no problem.
> >
> > But in Applescript :
> > Tell application "Mail"
> > set Boxes to mailboxes whose its name of container is missing value
> > …/…
> > (*
> > Boxes is a list which contains all mailboxes except the "Apple"
> > Mailbox!
> >
> > If you rename it, the box appears in the list.
> > If you rename it "Apple" again the box disappears of the list…
> >
> > "Apple" is like a reserved word in Mail or in Applescript!
> >
> > If "Apple" is the name of a submailbox : no problem
> > *)
> >
> > It's not a real problem when we know it… just bizarre!
>
> Curious. I have a top level mailbox named "apple". This works:
>
> tell application "Mail"
> set mboxen to every mailbox whose name of its container is missing
> value
> end tell
>
>
> Philip Aker
> echo email@hidden@nl | tr a-z@. p-za-o.@
>
> Sent from my SE/30
>
>
--
Sent from Gmail for mobile | mobile.google.com
Mark J. Reed <email@hidden>
_______________________________________________
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