Re: Retrieve all searchable spotlight metadata
Re: Retrieve all searchable spotlight metadata
- Subject: Re: Retrieve all searchable spotlight metadata
- From: Adam Leonard <email@hidden>
- Date: Wed, 11 May 2005 17:38:49 -0700
Ok, I got it to work. There is a easy documented way to do it that I
missed :). For anyone searching, use MDSchemaCopyAllAttributes() to
get a CFArrayRef of the name that can be used in a program (i.e
kMDItemLastUsedDate)
MDSchemaCopyDisplayDescriptionForAttribute([a name returned by
MDSchemaCopyAllAttributes] ) returns a CFStringRef with a user
friendly display description (i.e. date when this item was last used)
And, MDSchemaCopyDisplayNameForAttribute([a name returned by
MDSchemaCopyAllAttributes]) returns a CFStringRef with the user
friendly display name (i.e. Last opened)
Thanks to Fritz Anderson for this information
_______________________________________________
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