Login  Register

Re: IJ1 Macro recorder

Posted by Rasband, Wayne (NIH/NIMH) [E] on Sep 17, 2014; 11:17pm
URL: http://imagej.273.s1.nabble.com/IJ1-Macro-recorder-tp5009669p5009687.html

On Sep 17, 2014, at 9:47 AM, Jan Eglinger wrote:

> Hi Olivier and Gabriel,
>
> yes, the smart recording behaviour seems to be fixed specifically for "Z Project..." with this recent commit in 1.49h1:
>
> https://github.com/imagej/imagej1/commit/3185b441
>
> For "Duplicate..." it remains true even in the daily build. Great catch.

The "Duplicate..." recording regression is fixed in the latest ImageJ daily build (1.49h15), with this commit

    https://github.com/imagej/imagej1/commit/5d59f226adee5bd94a6c43064cd664e10e2d3aa8

The recorder now records

   run("Duplicate...", " ");

when the default title is used in the dialog.

-wayne


> On 17.09.14 15:34, Burri Olivier wrote:
>> Hi Gabriel and Jan,
>>
>> I had not tried the daily build yet. And it is true that it is a bug linked to the fact that if all default options are kept, then it does not record the arguments to the run() call.
>>
>> Example in plain ImageJ calling duplicate without changing the suggested title
>>
>> selectWindow("AuPbSn40.jpg");
>> run("Duplicate..."); //No arguments are passed.
>> If I run duplicate and change the name, then I get
>> run("Duplicate...", "title=srsrs");
>>
>> Regarding the Z Project, this no longer happens with the daily build of imageJ and I get the same results as Gabriel.
>>
>> Thanks for the bug tracker link, I will append to it if I find further bugs in that direction with the latest daily build of IJ and working on Fiji.
>>
>> Best
>>
>> Oli
>>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html