Re: How to retrieve document type?
Re: How to retrieve document type?
- Subject: Re: How to retrieve document type?
- From: Laurent Daudelin <email@hidden>
- Date: Thu, 5 Nov 2009 12:21:54 -0800
On Nov 5, 2009, at 12:11, Fritz Anderson wrote:
> On 5 Nov 2009, at 1:58 PM, Laurent Daudelin wrote:
>
>> I'd like to retrieve the document type of a given file and display it like the Finder does, like "Portable Document Format (PDF)" or "Microsoft Word document".
>>
>> How can I do that?
>
> Start your search from LSCopyKindStringForURL.
Thanks, that was it!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden