// Script function: Use SHIFT key to continue. The lines below can be inserted into any processing step of your scripts to act as Pause and De-Pause with SHIFT key press. // Unless named starting with GlobalSino, EM, My, Self, the function commands are defined //by Gatan DM, please see at link: http://www.globalsino.com/EM/page2597.html While ( !ShiftDown() ) { OpenAndSetProgressWindow("Press SHIFT key to continue...","","") // After executing the script, watch the line at the bottom of DM window. } CloseProgressWindow()