• 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: NSMetadataItem question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMetadataItem question.


  • Subject: Re: NSMetadataItem question.
  • From: Tom Birch <email@hidden>
  • Date: Wed, 11 May 2005 16:52:23 +1000


On 09/05/2005, at 13:00:32, Vince DeMarco wrote:


On May 8, 2005, at 8:48 AM, Josh Morris wrote:


I'm assuming you mean kMDItemIdentifier, since kMDItemID isn't a defined attribute (as far as I know), it certainly isn't in the headers, or the system Schema.xml


Nope, I meant kMDItemID...

tenkamuteki:~ jmorris$ mdls /Applications/Address\ Book.app/
/Applications/Address Book.app/ -------------
...
kMDItemID                      = 1875119
...

It appears to be a number associated with each file. I understand that kMDItemIdentifier is different, and that kMDItemID is not in the schema or docs, but it's there for every file, and you can search by it with a raw query.

I guess since it's undocumented there's no way to find out if it's unique across volumes?



Its not unique across volumes.

yeah it's just the inode number (compare with ls -i)

Tom


Vince


-Josh Morris
 email@hidden

 _______________________________________________
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


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40cse.unsw.edu.au


This email sent to email@hidden


_______________________________________________ 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: NSMetadataItem question.
      • From: Scott Anguish <email@hidden>
References: 
 >NSMetadataItem question. (From: Josh Morris <email@hidden>)
 >Re: NSMetadataItem question. (From: Scott Anguish <email@hidden>)
 >Re: NSMetadataItem question. (From: Josh Morris <email@hidden>)
 >Re: NSMetadataItem question. (From: Vince DeMarco <email@hidden>)

  • Prev by Date: NSLinkAttributeName and re-layout
  • Next by Date: I want NSTextView to grow horizontally as text is entered
  • Previous by thread: Re: NSMetadataItem question.
  • Next by thread: Re: NSMetadataItem question.
  • Index(es):
    • Date
    • Thread