Login  Register

Re: Close all but active window

Posted by Straub, Volko A. (Dr.) on Aug 14, 2015; 7:33am
URL: http://imagej.273.s1.nabble.com/Close-all-but-active-window-tp5014024p5014028.html

I just realised that there is a much simpler way to close all image
windows apart from the front image - just use
close("\\Others")
See Macro documentation
(http://imagej.nih.gov/ij/developer/macro/functions.html#C).

Volko


On 14/08/2015 02:19, jswalker wrote:

> Hi all,
>
> Simple problem that probably has a simple fix. Any help would be
> appreciated--
>
> During the course of my image analysis I have the image I opened (A1
> DAPI.jpg, for example), the same image converted to mask (A1 DAPI-1.jpg),
> and then the same image reverted with maxima stuck onto it (A1 DAPI-1.jpg
> Maxima).
>
> There comes a critical point where I need to have ImageJ (well, Fiji) close
> all but the Maxima image. How do I do this?
>
> Is there a closeAllButActive function that I am not aware of?
> Failing that, is there a way to tell the macro to close any/all images that
> /don't/ have the word "Maxima" in the image title?
>
> I would rather not close any open ROI or Results windows if I can help it.
>
> Thanks, IJ wizards.
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Close-all-but-active-window-tp5014024.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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