Editing 'Open With...' Contextual Menu

michaelrjohnson

macrumors 68020
Original poster
Aug 9, 2000
2,173
1
53132
Greetings MR!

While within another thread, a specific question arose several times, but never got addressed before the thread died.

Problem:
If you have the Adobe Creative Suite installed on your machine, and select "Open With..." you will get a rediculously long list of Photoshop mini-apps to open the file with. It's a huge inconvenience having to wade through a whole long list of useless Photoshop .exe's to get to the program I want.

https://forums.macrumors.com/attachment.php?attachmentid=27943
Screenshot courtesy: neocell

Solution?
Is it possible to edit this menu to eliminate those volumes of Photoshop .exe programs? I've never attempted deleting them entirely for fear of how Photoshop may behave. Is it possible just to delete them? How could we exclude them from the 'Open With...' menu?

Any help is much appreciated by myself and many other MR members!
 

Lacero

macrumors 604
Jan 20, 2005
6,639
2
I find it annoying too. Learned to live with it I guess. You could always archive the .exe and delete the originals.
 

Heb1228

macrumors 68020
Feb 3, 2004
2,215
0
Virginia Beach, VA
That is really annoying. I've spent some time trying to figure out how to edit the Open With menu and I haven't found anything either. Let me know if you find anything!
 

michaelrjohnson

macrumors 68020
Original poster
Aug 9, 2000
2,173
1
53132
Based on the replies thus far, this is an issue for many people. Lacero provided the solution to just delete the Photoshop .exe's, as I had mentioned in the original post. However, does anybody have any experience whether or not this adversely affects the performance of Photoshop?
 

neocell

macrumors 65816
May 23, 2005
1,073
2
Great White North
I don't know about deleting the exe files and it's effects on photoshop but I've found a couple of older apps that allowed you to create contextual menus for applications used, to re-arrange the order, but not to delete the listings (Zingg!, see FAQ for deleting issues). Apparently it has something to do with the system accessing each app's info.plist file see if it should be associated with the file in question see link and quoted text link.
Authored by: fabrizio on Mon, Oct 11 '04 at 04:51PM
The info in the database are gathered by the System from the Info.plist files stored in each ".app" folder. If you want to modify the database (e.g. you want a specific app no longer be associated to a particular file type in the "Open with..." menu) you have to modify the Info.plist file of that app and then rebuild the LS database. You could either use Panther Cache Cleaner or this terminal command:

/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
Now, I'm the first to admit that I don't know much about computer operating systems and software underpinnings but I would image that there has got to be someway to work around this so that the 'open with' menus could be changed. Anyone?
 

michaelrjohnson

macrumors 68020
Original poster
Aug 9, 2000
2,173
1
53132
neocell said:
I don't know about deleting the exe files and it's effects on photoshop but I've found a couple of older apps that allowed you to create contextual menus for applications used, to re-arrange the order, but not to delete the listings (Zingg!, see FAQ for deleting issues). Apparently it has something to do with the system accessing each app's info.plist file see if it should be associated with the file in question see link and quoted text link.

Now, I'm the first to admit that I don't know much about computer operating systems and software underpinnings but I would image that there has got to be someway to work around this so that the 'open with' menus could be changed. Anyone?
Thanks neocell! That really went a long way in providing an explanation and initial fix for the issue.

So MacRumors UNIX geeks and code-heads: Is there a more user-friendly option out there?
 

michaelrjohnson

macrumors 68020
Original poster
Aug 9, 2000
2,173
1
53132
SOLUTION

Well, I think I may have found a solution to this issue. After inspecting how the .exe's were being used, and where they were located, I determined that they are not a crucial part of Photoshop/Illustrator functionality.

The files are located within the directory "Applications/Photoshop CS2/Samples/Droplets/..." The fact that they reside within the samples directory led me to my initial conclusion. What I did, to remove them from the menu, while avoiding deletion was right-click the "Droplets" folder, and select "Create Archive of 'Droplets'...". This compressed all of those applications into a .zip located within the "Samples" directory. As soon as they are not "available" anymore, the "Open With..." menu does not recognize them as options.

I have been able to remove them (with the above method) and re-instate them instantly by unzipping the "Droplets.zip" file. It's a non-destructive method that produces instant results.

Below is my Before and After:
 

Attachments

mcmillan

macrumors 6502
Jul 4, 2004
318
0
Thank you so much.. you solved your own problem :p ... I'll do the .zip thing tomorrow morning.
 

michaelrjohnson

macrumors 68020
Original poster
Aug 9, 2000
2,173
1
53132
mcmillan said:
Thank you so much.. you solved your own problem :p ... I'll do the .zip thing tomorrow morning.
Thank you :)

It's not often that I can do that, so I'm really glad to be able to share!
 

Lacero

macrumors 604
Jan 20, 2005
6,639
2
Yeah, you pretty much came to the same end result like that I suggested on #3.
 

mduser63

macrumors 68040
Nov 9, 2004
3,039
30
Salt Lake City, UT
I don't have this problem, even though I have Photoshop installed. I haven't done anything out of the ordinary, and I certainly haven't modified that samples/droplets folder. I wonder what the difference is.
 

Attachments

michaelrjohnson

macrumors 68020
Original poster
Aug 9, 2000
2,173
1
53132
That is interesting. Perhaps it was an option in the Install that either you or I selected/deselected? I dont' remember my install...
 

neocell

macrumors 65816
May 23, 2005
1,073
2
Great White North
mduser63 said:
I don't have this problem, even though I have Photoshop installed. I haven't done anything out of the ordinary, and I certainly haven't modified that samples/droplets folder. I wonder what the difference is.
Do you have the various exe files in your Applications/Photoshop CS2/Samples/Droplets/ folder?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.