Close all Open Images

Category: Data Display
Author:
Description: Script to close all open images (hidden images are not affected). Any images which have changed since being opened will produce a prompt asking the users to if they wish to save the changes.If the ALT key is held down when the script is launched the images are closed without any prompts.
Comments: There is a limitation (or conflict) in User Defined Language with DM script. The operation "/" and "*" cannot be defined as operators in Notepad++ once we define "/*" and "*/" as comment block markers. So I have left "/" and "*" out from the operator list
Acknowledgements: With thanks to J. Wilbrink (Gatan) for scripting hints
Script version: 1.0
DM/GMS version: 3.6.5.2
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download