"Image Sequence..." in a macro?
Posted by Bill Mohler on Jul 15, 2008; 11:08am
URL: http://imagej.273.s1.nabble.com/Image-Sequence-in-a-macro-tp3695597.html
I am trying to save a stack as an Image Sequence of TIFFS in a macro that
loops through a whole folder of stacks.
Currently my problem seems to be that the macro interpreter does not like
the syntax that the macro recorder creates for the Image Sequence
command. Below is what I recorded with the recorder. When I use the
exact same line in my macro, I get an error saying that a "," or ")" are
expected in this line.
run("Image Sequence... ", "format=TIFF name=X0000L start=0 digits=2 save=
[C:\\Documents and Settings\\leica\\Escritorio\\USUARIOS\\Laboratorio 3
\\WA OUT\\IJ-MACRO-OUT\\X0000L00.tif] save=[C:\\Documents and
Settings\\leica\\Escritorio\\USUARIOS\\Laboratorio 3\\WA OUT\\IJ-MACRO-
OUT\\X0000L00.tif]");
Can anyone help me with how to get the right syntax? Once I understand
it, I hope to substitute parts of the parameter string with variables
calculated during my loop. But if I don´t even know the right syntax, I
can´t get started!