• 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: Applescript with Mail eat the Apple!…
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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: 
 >Applescript with Mail eat the Apple!… (From: awaw <email@hidden>)
 >Re: Applescript with Mail eat the Apple!… (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Applescript with Mail eat the Apple!…
  • Next by Date: Re: Getting elements of a list
  • Previous by thread: Re: Applescript with Mail eat the Apple!…
  • Next by thread: ? regarding rebooting apps using an applescript
  • Index(es):
    • Date
    • Thread