Monday, December 03, 2012

OS X Open With Out-of-date

On my Mac system I’ve noticed that, for some reason, multiple versions of a program, or even programs I no longer have installed, will show on the “Open with” menu in finder. Something like what you see in the screenshot.

http://content.screencast.com/users/TroyMurray/folders/Snagit/media/68ddf734-f134-4350-bcc3-db668d17bf12/2012-12-03_10-48-47.png

Turns out this list is a sort of internal database that needs to be cleaned once in a while, but I’m not sure why the system fails to do this on it’s own. Regardless, this can be corrected by triggering a refresh of the database system and then re-launching the Finder.

Open Terminal and paste the following exactly, it should be all on one line:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

After that command finishes, hold down the Control + Option keys on your keyboard, then click on the Finder icon and select “Relaunch” http://content.screencast.com/users/TroyMurray/folders/Snagit/media/066851e9-1340-425a-ae07-959e3665e6b7/2012-12-03_10-54-25.png

No comments: