• 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
Path to Metadata attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Path to Metadata attributes


  • Subject: Path to Metadata attributes
  • From: Philip Dow <email@hidden>
  • Date: Thu, 15 Dec 2005 19:31:37 +0100

Hiya, I'm looking for a way to grab the spotlight metadata attributes of a file via the file's path. That is, I am already in possession of a url to the local file, and I would like to look up the attributes associated with that file. Querying spotlight seemed one way to go, but a caveat comes with the kMDItemPath attribute: "The value of this attribute can be retrieved, but can't be used in a query or used to sort search results." Can't be used in a query? That's unfortunate.

Is it possible to get the metadata attributes for a file given the complete path to that file?

-Phil
_______________________________________________
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
  • Follow-Ups:
    • Re: Path to Metadata attributes
      • From: Kaelin Colclasure <email@hidden>
  • Prev by Date: Re: Getting data from NSOutlineView [solved, kind of...]
  • Next by Date: Re: Path to Metadata attributes
  • Previous by thread: Newbie multiple controller design question
  • Next by thread: Re: Path to Metadata attributes
  • Index(es):
    • Date
    • Thread