Login  Register

Re: "Image Sequence..." in a macro?

Posted by Volker Baecker on Jul 15, 2008; 11:17am
URL: http://imagej.273.s1.nabble.com/Image-Sequence-in-a-macro-tp3695597p3695598.html

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It works fine (with imagej 1.41b) if I remove the line-breaks.
Volker
Bill Mohler a écrit :
| 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!
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIfIc5xZKX7A/4oMERAgMoAJ9llxUOq65V2+RA1eodeQ1hbOhxVwCaAhJP
MjVmBQWTC518QuyAelggTWQ=
=b5BW
-----END PGP SIGNATURE-----

--
passerelle antivirus du campus CNRS de Montpellier
--