|
|
10.4: More expressive saved searches
doesn't "and" work?
10.4: More expressive saved searches
if you used and then the document would have to be both a pdf and a postscript. not many of those around. :)
10.4: Query syntax
Siracusa's review of Tiger lists the operators available for querying Spotlight.
10.4: Constants for your query
Yes, although a comprehensive discussion of the syntax is available from Apple. The article by Siracusa also notes that:
Each piece of metadata is stored in the Spotlight index using a key string. Apple has defined keys for many common attributes. These keys are defined as symbolic constants in a header file, using the "k"-prefixed Carbon naming convention for constants. They range from generic attributes like kMDItemKeywords, kMDItemTitle, and kMDItemComment to format-specific attributes like kMDItemAudioBitRate, kMDItemMaxAperture, and kMDItemLyricist. There are over 100 of these constants.So knowing the query syntax, while important, is (arguably) less than half the battle. Turns out that a list (I don't know how complete) of these constants (keys) can be found in an Apple PDF as well. There are some unusual ones, including a whole host of audio-based ones (such as kMDItemAppleLoopsRootKey) -- perhaps an update to Garageband and/or Logic that will integrate Spotlight is in the works.
The bottom line, however, is that if developers do not adhere to Apple's keys, and instead start using their own overlapping and redundant ones, Spotlight will end up being much less useful than it could be. Sure, Apple can exhort developers to "play along," but why do I envision |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|