Re: How to set the name of open-with application for a specific file?
Re: How to set the name of open-with application for a specific file?
- Subject: Re: How to set the name of open-with application for a specific file?
- From: Harry Jordan <email@hidden>
- Date: Mon, 3 Aug 2009 04:09:05 +0100
(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 <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
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