osx - List potential applications that could open a file -


Is it possible for a user to get a list of applications installed on the computer that can be used to open a file ( An image in my case), similar to the list shown by Finder's "Open with ..." menu?

Are you looking for a program or scripting solution? Programmatic, (see LSCopyAllRoleHandlersForContentType () for example). For scripting, you might want to lsregister , which is

  / system / library / framwork / coir services. Framework Version / A / Fram Works / Launch Services / Framework Work / Support  

Do not fool your location in the dock. It's in carbon docs, but it's really core services, which Do not like it.


Comments

Popular posts from this blog

How to Create Master-Details view using Asp.Net MVC framework -

delphi - Mouseover hint for TChart series value -

c++ - Linux and clipboard -