• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Retrieve all searchable spotlight metadata
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Add metadata to my files for Spotlight
  • Next by Date: Re: Object Specifier pasteboard type
  • Previous by thread: Retrieve all searchable spotlight metadata
  • Next by thread: Copy Phase custom destination folder
  • Index(es):
    • Date
    • Thread