• 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: Philip Aker <email@hidden>
  • Date: Sat, 19 Apr 2008 06:17:53 -0700

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

  • Follow-Ups:
    • Re: Applescript with Mail eat the Apple!…
      • From: awaw <email@hidden>
    • Re: Applescript with Mail eat the Apple!…
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Applescript with Mail eat the Apple!… (From: awaw <email@hidden>)

  • Prev by Date: Applescript with Mail eat the Apple!…
  • Next by Date: Re: Applescript with Mail eat the Apple!…
  • Previous by thread: Applescript with Mail eat the Apple!…
  • Next by thread: Re: Applescript with Mail eat the Apple!…
  • Index(es):
    • Date
    • Thread