
// Script function: Select one image from opened images.


// 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

image img
string title = "Please select an image"

if ( !GetOneImage( title, img ) )
Throw( "User pressed cancel." )

SetName(img, "This is the image I selected")