Re: Problem: macro not saving files
Posted by cnarciso on Feb 14, 2014; 5:37pm
URL: http://imagej.273.s1.nabble.com/Problem-macro-not-saving-files-tp5006489p5006528.html
SOLVED:
Basically for the "Save as..." you do not concatenate the variable or put it in parenthesis...
so...
run("Image Sequence...", "open=&dir488 number=&z starting=1 increment=1 scale=100 sort");
saveAs("Tiff", fn488);
close();
run("Image Sequence...", "open=&dir647 number=&z starting=1 increment=1 scale=100 sort");
saveAs("Tiff", fn647);
close();
run("Image Sequence...", "open=&dir405 number=&z starting=1 increment=1 scale=100 sort");
saveAs("Tiff", fn405)
close();
works like a charm.