http://imagej.273.s1.nabble.com/Image-Sequence-in-a-macro-tp3695597p3695601.html
Hmmm...
Hmm. I noticed the doubled save command, too.
macro recorder. Is it not necessary?
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>I tried with 1.40g and for me it still works. I changed the path a bit
>since your path doesn't exist on my machine. Can you try to copy and run
>the following:
>
>run("Image Sequence... ", "format=TIFF name=X0000L start=0 digits=2
>save=[C:\\Documents and Settings\\X0000L00.tif]");
>
>(remove the line-breaks that the email client might add)
>
>By the way your command contains the save=... part two times. But it
>works even with this.
>
>Volker
>
>
>Bill Mohler a écrit :
>| In my code there aren't any line-breaks. It's all on one line.
>|
>| I'm on version 1.40g on Windows.
>|
>| Still doesn't work.
>|
>| 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!
>| |
>|>
>- --
>passerelle antivirus du campus CNRS de Montpellier
>- --
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.6 (MingW32)
>Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org>
>iD4DBQFIfK4+xZKX7A/4oMERArh3AKDHO4McJCjYWMX4GD/pOeYRyz7ungCXdUvA
>aC29PAlbwcAcmwHDkOQ33g==
>=k/3o
>-----END PGP SIGNATURE-----
>
>--
>passerelle antivirus du campus CNRS de Montpellier
>--
William A. Mohler
Dept. of Genetics and Developmental Biology
263 Farmington Ave.
G&DB dept. ofc.: (860) 679-8350
G&DB dept. fax : (860) 679-8345