Re: Applescript with Mail eat the Apple!…
Re: Applescript with Mail eat the Apple!…
- Subject: Re: Applescript with Mail eat the Apple!…
- From: awaw <email@hidden>
- Date: Sat, 19 Apr 2008 16:09:50 +0200
Sorry, it was a tricky side effect in my script!
Your syntax or mine give the same result.
So It was so incredible but I was blinded…
Thanks for your confirmation (the candle)…
Gérard Le 19 avr. 08 à 15:17, Philip Aker a écrit : 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
|
_______________________________________________
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