I want to make certain files to be opended by default by my own editor.
These files might contain all sort of file extentions.
In Finder.app I could do: File → Always open with..., but I want to do this 
programmatically.

I guess I have to add a 'usro' Resource (see:  
<http://sutes.co.uk/2009/09/creator-codes-are-not-replaced.html>).

But I have great difficulties finding and understanding the relevant 
documentation.

Also: I cannot find the 'usro' string in any header file (and Xcode does not 
give any information either).

So, does anybody has some code snippets to share which can read, modify, write 
a 'usro' resource?


Kind regards,

Gerriet.

_______________________________________________

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