Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Find emails and contacts in Smart Folders Desktop
Tiger only hintSmart folders don't return emails or contacts, even though the Spotlight menu search does. To work around this limitation, open the Smart Folder in Property List Editor (or a text editor) and edit the "RawQuery" string, removing this text:
 && (kMDItemContentType != com.apple.mail.emlx) 
 && (kMDItemContentType != public.vcard)
Note that the text is one continuous line; it's been shown here on two lines for a narrower display. You can also modify this string to build complex boolean queries that the GUI doesn't support, as has been discussed in other hints...
    •    
  • Currently 4.00 / 5
  You rated: 5 / 5 (4 votes cast)
 
[6,390 views]  

10.4: Find emails and contacts in Smart Folders | 3 comments | Create New Account
Click here to return to the '10.4: Find emails and contacts in Smart Folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Find emails and contacts in Smart Folders
Authored by: KB3HFP on May 17, '05 11:17:37AM

This would be incredibly useful if it worked, but it doesn't seem to work on Smart Folders that already use a raw query. One of mine, set up with a raw query to show all files from one year ago, shows the following string in TextEdit:

<key>RawQuery</key>
<string>((kMDItemFSCreationDate &lt;= $time.today(-364)) &amp;&amp; (kMDItemFSCreationDate &gt;= $time.today(-365)))</string>

Even without the tags to exclude Mail and Address Book files, it doesn't show them. Any ideas?



[ Reply to This | # ]
10.4: Find emails and contacts in Smart Folders
Authored by: whenders0n on May 19, '05 01:48:14PM

Agreed that this would be awesome if it worked. Anyone? Does this hint work?



[ Reply to This | # ]
10.4: Find emails and contacts in Smart Folders
Authored by: KB3HFP on May 22, '05 10:47:15PM

It does work with ordinary Smart Folders... for example, you can make a Smart Folder that contains all items modified today without using a raw query, then use this hint to make it show Mail messages and Address Book contacts. But in the case of a Smart Folder that uses a Raw Query, the text to delete myseriously disappears, but the problem (excluding Mail messages and contacts) continues. Go figure.



[ Reply to This | # ]