Re: Duplicate...
Posted by
lartaud marc on
URL: http://imagej.273.s1.nabble.com/Duplicate-tp3690000p3690004.html
Hi
try with
-------
name = "image_name.tif";
run("Duplicate...", "title="+name);
-------
don t use special caractere in the name
marc
Ved Sharma a écrit :
> Hi all,
>
> While an image is open, I run following code in a macro:
>
> ---------------
> name = "image name.tif";
> run("Duplicate...", "title="+name);
> --------------
>
> It duplicates the image but the title of the duplicated image is "image" and
> not "image name.tif".
>
> I was just wondering if I'm making any mistake?
>
> Thanks in advance,
>
> Ved
>
>