Edit

SavePicture (window, itemID)

Resulttype:  string (a path)

Definition:  Saves the image in the Picture control identified by itemID, into a new temporary file and returns the path to the file.

Availability:  available within MWScript handlers.