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


Click here to return to the '10.4: Use Spotlight to create a better locate' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use Spotlight to create a better locate
Authored by: jtrott on May 17, '05 11:28:15PM

You may want to instead use kMDItemFSName as the attribute to search on. Otherwise you will get item names (like email subjects that match) as well as finder file names.
kMDItemFSName will just return file system names.



[ Reply to This | # ]
10.4: Use Spotlight to create a better locate
Authored by: ammon on May 18, '05 08:15:29PM

kMDItemFSName would be more correct, but unfortunately I find that it is much slower than kMDItemDisplayName. This is unfortunate because uness you turn "Show all file extensions" on in the Finder, your searches can't include the extension.



[ Reply to This | # ]