• 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: Showing a Mail mailbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing a Mail mailbox


  • Subject: Re: Showing a Mail mailbox
  • From: Luther Fuller <email@hidden>
  • Date: Sat, 5 Apr 2008 15:17:16 -0500

On Apr 5, 2008, at 8:58 AM, Michelle Steiner wrote:
On Apr 5, 2008, at 4:57 AM, Bill White wrote:

Is this a bug or a Mail shortcoming?

A smart mailbox is not a real mailbox; it is a representation of a group of search criteria, and is analogous to smart folders in the Finder. A smart folder is actually an XML file, and I wouldn't be surprised if a smart folder were XML as well.

That's right. A "smart folder" isn't really a folder. It really is a property list file. Now I'm curious about what a "smart mailbox" really is ... so I made one and started looking ...


If you have 1 or more smart mailboxes, you will find a file in ~/ Library/Mail/ named SmartMailboxes.plist that contains their names and search criteria (but not the search results). This is very similar to a smart folder which is a plist file containing the search criteria (but not the search results). (Which prompts the question: Where is the search result stored? Probably in some invisible file?)

Also, if you look at Mail's dictionary, you will not find the word 'smart'. I'm thinking that this is a clear indication that smart mailboxes are invisible to AppleScript. (?)

However, AppleScript may be able to get selected messages from a smart mailbox. But, I haven't tried it.

_______________________________________________
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: Showing a Mail mailbox
      • From: Michelle Steiner <email@hidden>
References: 
 >Showing a Mail mailbox (From: Bill White <email@hidden>)
 >Re: Showing a Mail mailbox (From: Luther Fuller <email@hidden>)
 >Re: Showing a Mail mailbox (From: Bill White <email@hidden>)
 >Re: Showing a Mail mailbox (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Showing a Mail mailbox
  • Next by Date: Re: Showing a Mail mailbox
  • Previous by thread: Re: Showing a Mail mailbox
  • Next by thread: Re: Showing a Mail mailbox
  • Index(es):
    • Date
    • Thread