Re: NSMetadataItem question.
Re: NSMetadataItem question.
- Subject: Re: NSMetadataItem question.
- From: Vince DeMarco <email@hidden>
- Date: Sun, 8 May 2005 20:00:32 -0700
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.
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:
This email sent to email@hidden