I've got about 100 tabs open in Photoshop (I've bulk opened them to stack an image). Now I'm getting memory/disk full errors and I need to close all the tabs but one. It's extremely impractical to close all one by one, I need to close all but one. I need to save the one but I can't save due to my scratch disk being almost full, and closing all the 20MP RAWs may help.
How do I close all tabs but one? I am on Photoshop CC 2015.