Lifewithtech

View Original

QuickTip: Clean up duplicate entries in Moutian Lion's "Open with" Menu

Have you been annoyed by duplicate entries in Mountain Lion's "Open with" Menu?

Join us for a quick tip, taking back control of your "Open with" menu.

Duplicate entries in the “Open With” contextual menu always seem to build up.

Looking at my menu today I had 14 evernote options when I right clicked on the document. I'm not really sure why this is but I believe whenever you update an application it adds it self to the menu again. If anyone has any information as to why this works the way it does I would love to know. Is it a bug, is it intended to work this way and why?

Either way I went ahead and creating an Automator script to help me control my "Open With" menu. If this frustrates you as well take the steps below to taking back control.

  1. Run "Automator"
  2. select "Application"
  3. "Run Applescript"
  4. Paste Code
  5. Play/Run script to finalize
  6. Save as Application
  7. Done.

Now just run the new application then restart Finder to control the menu clutter.

on run {input, parameters}

do shell script"/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user"

return input end run