• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to set the name of open-with application for a specific file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to set the name of open-with application for a specific file?
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Bindings/KV Too Magical
  • Next by Date: Re: Bindings/KV Too Magical
  • Previous by thread: Re: Bindings/KV Too Magical
  • Next by thread: Re: How to set the name of open-with application for a specific file?
  • Index(es):
    • Date
    • Thread