Dear developer, it would be nice to have a "Close other tabs" option with the right mouse button like in Mozilla Firefox. It would be useful when you have to open a lot of small images to paste in the main document, and after they have been pasted the option are just close all or close (the file which have the focus). It would not be so hard to implement (is just like close all tab except the one you are calling the function) and it would be more user friendly.
This should be close, it will do exactly what you want, but the command will be at the bottom of the "Filter" menu.
Place the script in the Application Presets/Scripts folder
Thank you, it is a pretty simple script. Hopefully some CS5 Dev will put this as built-in on the next patch (if any) in order to add a trigger with the right mouse button.