• 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: List of all supported apps for file type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of all supported apps for file type


  • Subject: Re: List of all supported apps for file type
  • From: Scott Ribe <email@hidden>
  • Date: Sun, 23 May 2010 20:51:43 -0600

On May 23, 2010, at 5:03 PM, Dave DeLong wrote:

> Use LSCopyAllRoleHandlersForContentType to get a list of bundle identifiers.

No, don't. It's really lame, and returns obviously incomplete results. Maybe it only returns Cocoa apps; maybe it only returns apps that specify the type via explicit UTI and ignores type extensions & codes. Whatever, it's wrong for even common types like PDF & TIFF.

As far as I can, the only way to even come close to getting a list of apps that can open a file type, is to use a dummy file with the appropriate extension, and call LSCopyApplicationURLsForURL.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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: List of all supported apps for file type
      • From: Dave DeLong <email@hidden>
References: 
 >List of all supported apps for file type (From: Trygve Inda <email@hidden>)
 >Re: List of all supported apps for file type (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: Object Ownership
  • Next by Date: Re: List of all supported apps for file type
  • Previous by thread: Re: List of all supported apps for file type
  • Next by thread: Re: List of all supported apps for file type
  • Index(es):
    • Date
    • Thread