Dear Wayne,
thanks for the quick bug-fixing!
Just adding to that, when the Macro Recorder is open:
saveAs("Measurements", "/path/to/filename.xls");
gets recorded as such even when called from inside a macro.
And:
run("Close");
records "close();" when it happens to close an image window, but nothing
when it closes a results window (when called inside a macro of course).
(This turns out to be quite useful when debugging a macro that closes
the wrong window, but I guess it is not the intended behaviour.)
When being run from inside a macro, I think none of them should get
recorded at all.
Best,
Jan
Wayne Rasband wrote:
>> Dear all,
>>
>> when I run:
>>
>> run("Duplicate...", "title");
>>
>> in an ImageJ macro, the recorder records:
>>
>> selectWindow("title");
>>
>> whereas nothing should be recorded when the command
>> is started from a macro. I tried to spot the bug in
>> ij.plugin.filter.Duplicater.java , but couldn't find it there.
>>
>> Anyone else observed this behavior?
>
> This bug is fixed in the v1.43h daily build.
>
> -wayne