During the course of my work I am constantly in a position where I would like to close all the documents that I have open except the templates I am working with.
If I were to have the word "keep" in each of my template document names, how would I go about writing some javascript code to run in photoshop that will close all open documents that DO NOT have the word "keep" in their names?