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


Click here to return to the '10.4: Some Spotlight tips and tricks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Some Spotlight tips and tricks
Authored by: iloveitaly on May 03, '05 10:17:42AM

Is there a way to get the path of a file? I want to exclude all files that are in the trash. Looking through the ADC dev articles their is not a metadata attribute that contains the path of the file, am i missing something?



[ Reply to This | # ]
10.4: Some Spotlight tips and tricks
Authored by: belette on May 07, '05 05:51:03AM

There is a "kMDItemPath" attribute, but i can't seem to be able to do anything with it... Any idea?



[ Reply to This | # ]
10.4: Some Spotlight tips and tricks
Authored by: LakeSolon on Apr 18, '13 08:16:06AM
https://developer.apple.com/library/mac/#documentation/Carbon/Reference/MetadataAttributesRef/Reference/CommonAttrs.html Quoth the docs:
This value of this attribute can be retrieved, but can't be used in a query or to sort search results.
Via this stackoverflow Q/A: http://stackoverflow.com/a/1342019/180070

[ Reply to This | # ]