
Syntax for SavePICT/SNAP?

jjweimer
SavePICT/SNAP=1/O/WIN=thegraphic/P=_PictGallery_ as thegraphic
where thegraphic is a string variable that has the name of the panel. The error I get is No Target Window. The alternative below gives a syntax error at run time
SavePICT/SNAP=1/O/WIN=$thegraphic/P=_PictGallery_ as thegraphic
This is Igor 6.22A on Mac 10.6.8.
Adding the /E flag fixed the problem.
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
August 27, 2011 at 12:28 pm - Permalink