Adding a 'usro' resource
Adding a 'usro' resource
- Subject: Adding a 'usro' resource
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 04 Apr 2011 13:30:40 +0700
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 (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