On 31 May 2010, at 10:23, Ken Thomases wrote:

> On May 31, 2010, at 4:06 AM, Jean-Daniel Dupas wrote:
> 
>> Le 31 mai 2010 à 10:53, julius a écrit :
>> 
>>> and which onto NSMacSimpleTextDocumentType ....?
>> 
>> In 3 major releases Apple didn't managed to declare UTI for modern file 
>> formats like sdef, 
> 
> $ mdls foo.sdef 
> ...
> kMDItemContentType             = "com.apple.scripting-definition"
> kMDItemContentTypeTree         = (
>    "com.apple.scripting-definition",
>    "public.xml",
>    "public.text",
>    "public.data",
>    "public.item",
>    "public.content"
> )
> ...
> 
> 
>> so I doubt they defined an UTI for a dead file format like Simple Text.
> 
> $ mdls bar.txt
> ...
> kMDItemContentType             = "com.apple.traditional-mac-plain-text"
> kMDItemContentTypeTree         = (
>    "com.apple.traditional-mac-plain-text",
>    "public.plain-text",
>    "public.text",
>    "public.data",
>    "public.item",
>    "public.content"
> )
> ...
> kMDItemKind                    = "SimpleText Document"
> ...
> 
> Regards,
> Ken
> 
Marvellous. 
Thanks. Great clues. Great help.
Julius

------------------------------------------------------
http://juliuspaintings.co.uk


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to