Retrieve all searchable spotlight metadata
Retrieve all searchable spotlight metadata
- Subject: Retrieve all searchable spotlight metadata
- From: Adam Leonard <email@hidden>
- Date: Tue, 10 May 2005 16:29:18 -0700
Hi, I am a newbie at cocoa.
I want to get a list of all the metadata that spotlight is searching (the list you get in the finder when you do a search in the finder, click the plus button, then select "Other..." from the pop up box).
I am not sure the best way to approach this. I haven't found any "official" way to do this in the documentation. The problem is, spotlight plugins can add their own metadata to the list using the schema.strings file. One way that I think might work would be to search for all the spotlight plugins on the computer, then extract all the keys. That seems like a really crude, non-cocoa way to do this. The other problem is that it appears all the default metadata is hardcoded into spotlight and cannot be extracted, so if apple ever changed them, I would have to update my program.
Any Ideas on better ways to approach this?
Thanks. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden