Enumerate browsers

Discussion in 'Mac Programming' started by McBgnr, Apr 27, 2009.

  1. McBgnr macrumors regular

    Joined:
    Apr 13, 2009
    #1
    Hello,

    I am trying to programatically detect the browsers installed on my mac. Although I can do this by enumerating the applications folder and checking if the .app name matches with any of the Mac OS internet browsers. I want to know if there are any other possible ways of doing this? Suggestions are welcome!

    Cheers
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Would you not be better asking Launch Services? I assume you can!

    Edit: something like this...
     
  3. McBgnr thread starter macrumors regular

    Joined:
    Apr 13, 2009
    #3
    Thanks... will have a look at it.

    Will this help in enumerating applications on mac?
     
  4. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    Yes, it should be able to tell you all the applications that are registered to handle a particular thing (document or URL).
     

Share This Page