kMDItemTextContent for an item's content - no alternative?
kMDItemTextContent for an item's content - no alternative?
- Subject: kMDItemTextContent for an item's content - no alternative?
- From: Philip Dow <email@hidden>
- Date: Thu, 1 Jun 2006 14:55:34 +0200
The spotlight docs clearly state that applications cannot request the
kMDItemTextContent attribute from an MDItemRef. A discussion on the
list at least as recent as February also addressed this.
Is there no way to work around this?
/usr/bin/mdls does not list the attribute, but /usr/bin/mdimport at
debug level 2 does. I suppose I could parse the returned string and
extract the information, but I'm not very interested in doing this.
Is there really no other way to get the spotlighted textual content
of a 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