• 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: Finding Applications for File Type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding Applications for File Type


  • Subject: Re: Finding Applications for File Type
  • From: Nathan Day <email@hidden>
  • Date: Sat, 21 Dec 2002 21:03:13 +1030

You can use launch services to find the default app for a file or file type you can also test whether an app will handle a file or file type. There is no documentation for launch services yet though the header file is easy enough to follow, alternative I have a wrapper class for launch services on my web site, http://homepage.mac.com/nathan_day/

On Friday, December 20, 2002, at 11:05 AM, email@hidden wrote:

I need to provide users a list of suitable "helper" applications in the Preferences panel of my application. I expected to find some simple API for this in NSWorkspace or a similar class (e.g., "-applicationsForFileType:"), but no luck. This is clearly something that's done in the Finders get info panel (under "Open With:"). Is there public API for it?

Thanks!,
- Eric
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Finding Applications for File Type (From: email@hidden)

  • Prev by Date: Re: Help: Non-wrapping NSTextView
  • Next by Date: NSView drawing problem
  • Previous by thread: Finding Applications for File Type
  • Next by thread: Finding Applications for File Type
  • Index(es):
    • Date
    • Thread