This series of scripts closes one or more documents without saving changes (without a prompt). Options include: all documents, only the current document, or all documents except the current one.
Download
To download any of the following scripts, right-click (Ctrl-click on the Mac) on the appropriate version below, and choose "Save Target As".
Close Without Saving
Version: 2.2.0 (July 9, 2009)
Download for:
Photoshop CS2+
Note: The above script combines the features of all the scripts below, so if you download Close Without Saving, there's no reason to download any of the other scripts on this page.
Close ALL Without Saving
Version: 1.1.0 (July 9, 2009)
Download for:
Photoshop CS or
Photoshop CS2+
Close Current Without Saving
Version: 1.1.0 (July 9, 2009)
Download for:
Photoshop CS or
Photoshop CS2+
Close Inactive Without Saving
Version: 1.1.0 (July 9, 2009)
Download for:
Photoshop CS or
Photoshop CS2+
Note: The only significant difference between the CS and CS2+ versions of these scripts is the extension. Photoshop CS scripts have a ".js" extension, while scripts for Photoshop CS2 and higher use ".jsx".
Installation
Download the script(s) that corresponds to your version of Photoshop, and copy them into your "Adobe Photoshop CS#/Presets/Scripts
" folder.
After restarting Photoshop, the script(s) should appear in the File » Scripts menu.
For more detailed instructions, see the Installing Scripts section of the Scripting Photoshop, Part 1 tutorial.