Killing Photoshop CS Contextual Menu Items

Ok this is Mac OS X specific, and I think I’ve written something similar about Photoshop 7. You control click a JPEG to open it in PS, and you get spammed with 5556643 menu items for photoshop scripts when you just want to open the standard PS application! Why is it so hard to get rid of them?? I don’t know.

What happens, is Photoshop comes bundled with a bunch of scripts. Thats pretty cool. But the Mac OS X finder is “smart” and sees that they can be used to open images. So it puts them in the contextual menu for images i.e. JPEG’s etc. What we need to do is remove them from the system, and tell the finder to regenerate the contextual menu associations.

What I did, rather than remove the filters, was grab the ones I didn’t want in the menu from /Applications/Adobe Photoshop CS2/Samples/Droplets/ and create an archive of them. The finder won’t run applications from inside an archive, so it excludes them from the context menu. But they’re still there for when you need them. By the way, there are ImageReady and Photoshop droplets in that folder.

So once you’ve done that, open up a terminal and run:

$ cd /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/
Frameworks/LaunchServices.framework/Versions/
Current/Support/
$ ./lsregister -kill -r -domain system -domain local -domain user

And this deleted the database for the contextual menus forcing the finder to rebuild it. Since those pesky droplets you don’t want are no longer there, they do not appear in the contextual menu for JPEG’s or anything anymore :)

Leave a Reply