Re: Weird macro behaviour
Posted by
Gabriel Landini on
URL: http://imagej.273.s1.nabble.com/Weird-macro-behaviour-tp5011475p5011483.html
On Friday 06 Feb 2015 06:43:59 you wrote:
> Dear Kees,
>
> the name of the image has no spaces.
> Moreover, the command run("Add Image...","image="+[original]) gives me an
> error in "["
>
> If I re-write to run("Add Image...","image=[original]"); I obtain the
> previous behaviour. That is, instead of adding the original image to the
> ROI, it gives me the original image.
Perhaps you need to do:
run("Add Image...","image=["+original+"]");
or:
run("Add Image...","image=[&original]");
I have not tried this last one, it might not work.
Cheers
Gabriel
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html