Re: Determining a file's "kind"
Re: Determining a file's "kind"
On Fri, Jun 14, 2002 at 05:46:49PM -0700, Steven Frank wrote:
>
Given a path to a file, how do I get the string that the Finder displays
>
in the "Kind" field of the "Show Info" window?
>
>
Seems like this should be an NSFileManager thing
>
(fileAttributesAtPath?), but it's not mentioned in the docs.
LaunchServices should do it (LSCopyKindStringForURL).
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.