Fourier "Curvature values" window not closing

Posted by Andy Weller on
URL: http://imagej.273.s1.nabble.com/Interfacing-with-external-programs-tp3697548p3697549.html

Dear all,

I have a macro that initiates with:
setBatchMode(false);

then switches to:
setBatchMode(true);

after some manual editing.

However, during the macro I measure some Fourier descriptors and I can't
seem to close the "Curvature values" window?! In my macro I have:
if(isOpen("Curvature values")) {
    selectWindow("Curvature values");
    run("Close");
    }

but this doesn't help. I end up with many, many "Curvature values"
windows open.

Any ideas? Is there a function to close ALL windows?

I am using 1.39p under Ubuntu.

Thanks, Andy