How to exclude an app from appearing in "Open with..." options?

Discussion in 'OS X Yosemite (10.10)' started by jennyp, Nov 28, 2014.

  1. jennyp macrumors 6502

    Joined:
    Oct 27, 2007
    #1
    Is there any way I can make an app NOT appear in the various "Open with..." options ?

    I'm thinking particularly of "Espresso" app, which I find very useful, but which will keep appearing as an almost default app for opening all sorts of files (often with alarming results).
     
  2. w0lf macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #2
    To ban a specific application from appearing under "Open With" for a certain file, do the following.

    1. Go to the app you want to ban and right-click on it.
    2. Click on Show Package Contents.
    3. Open the Contents folder.
    4. Open Info.plist with any text editor, like TextEdit.
    5. Look for CFBundleTypeExtensions, which should show up several times. Under that, you should see a few lines that have <string>file name</string>.
    6. Once you find the suffix you want to take off (in my case. it's the <string>png</string> line), delete it from the text editor and save the file.
    7. Lastly, open Terminal and enter the killall Finder command.

    [​IMG]

    http://mac-how-to.wonderhowto.com/h...es-customize-open-with-menu-mac-os-x-0157100/
     
  3. jennyp thread starter macrumors 6502

    Joined:
    Oct 27, 2007
    #3
    Hey w0lf - thanks for that! I'll give it a try! :)
     
  4. jennyp thread starter macrumors 6502

    Joined:
    Oct 27, 2007
    #4
    I'm not sure this is going to help. The app has so many of those "CFBundleTypeExtensions" keys ,with so many file-type keys associated, that it seems to want to open everything (perhaps making the problem I'm seeing arise?). The purpose of the app is to keep the system or the display awake. I don't want to mess up the app's function by editing those strings - perhaps it needs so many to stop them waking things up? (Just my guess! I really have no idea!).

    Have contacted the developer and see if I get a response. Thanks for the tip anyway ! :)
     

Share This Page