(Not sure why this didn't get sent to the list the first time round, but here it is for the Google bots to pick up)
The place to look is the Launch Services Reference, in particular the LSSetDefaultRoleHandlerForContentType() function. I haven't used the setter functions myself, but it looks reasonable. Hope that helps. Harry http://inquisitivesoftware.com/ On 31 Gorff 2009, at 14:00, MATSUMOTO Satoshi wrote: Dear Jerry Krinock, On 2009/07/31, at 21:43, Jerry Krinock wrote: Activate Finder. Select a subject document file. In main menu click File > Get Info. In the Info Window which appears, click "Open with..." and if desired click the "Change All" button. Thank you for your kind advice. :-) I want to do this programmatically. Satoshi ----------------------------------------------------- Satoshi Matsumoto <sato...@mac.com> 816-5 Odake, Odawara, Kanagawa, Japan 256-0802 _______________________________________________ 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