Login  Register

Re: Move active window to back

Posted by PEARSON Matthew on Mar 15, 2015; 10:45pm
URL: http://imagej.273.s1.nabble.com/Move-active-window-to-back-tp5011971p5011975.html

I will incorporate this into the macro and see how it goes.

Thanks

-------- Original message --------
From: Thomas Peterbauer <[hidden email]>
Date:15/03/2015  22:22  (GMT+00:00)
To: [hidden email]
Subject: Re: Move active window to back

On 2015-03-15 22:05, Matt Pearson wrote:
> The macro comes back to an image its already analysed before it completes the others.

Two suggestions:

a) just close an image once you are done with it:

run("Close");

It cannot interfere with the rest of the macro. If you need to/want to
leave all the images open:

b) use the loop I mentioned in my first reply to get an array with image
IDs as the first step. For processing, loop over this array, selecting
one image after the other by ID in each cycle of the loop. There cannot
be any confusion of the images, even if your code generates new images
during processing.

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



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

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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