• 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 get finder type "Open With" dialog box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get finder type "Open With" dialog box


  • Subject: Re: How to get finder type "Open With" dialog box
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 29 Apr 2009 02:10:05 -0400

On Wed, Apr 29, 2009 at 1:52 AM, Parimal Das <email@hidden> wrote:
> What i want to do is, when my code encounters a unknown file extension, it
> should open the finder type "Open With" dialog box for user to choose the
> app from the list.

There is no "Open With" dialog box, at least not one that's analogous
to Windows.  You can specify type associations in Finder, sure, but
the actual dialog used for selecting applications is just a standard
Open panel.

Run an NSOpenPanel modal for the type @"com.apple.application".

--Kyle Sluder
_______________________________________________

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

References: 
 >How to get finder type "Open With" dialog box (From: Parimal Das <email@hidden>)

  • Prev by Date: How to get finder type "Open With" dialog box
  • Next by Date: NSButtonCell visibility binding in NSOutlineView
  • Previous by thread: How to get finder type "Open With" dialog box
  • Next by thread: NSButtonCell visibility binding in NSOutlineView
  • Index(es):
    • Date
    • Thread