Re: Fourier "Curvature values" window not closing
Posted by
Andy Weller on
Jan 17, 2008; 4:06pm
URL: http://imagej.273.s1.nabble.com/Interfacing-with-external-programs-tp3697548p3697550.html
Alternatively is it possible to set setBatchMode(true) for the whole
macro, but "display" (show?) an image, do something manual to it, then
close it for the macro to continue (with ALL windows closed)?
Thanks.
Andy Weller wrote:
> 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