Login  Register

How to "Hide ImageJ" during macro execution?

Posted by vischer on Jan 14, 2014; 9:24pm
URL: http://imagej.273.s1.nabble.com/How-to-Hide-ImageJ-during-macro-execution-tp5006124.html

Hello All,

I would like to use menu command:
   ImageJ>Hide ImageJ
(on the Mac) to perform longish image processing invisibly, and avoid that clicking accidentally into an image, or pressing a  key that switches to a different hyperstack channel, disturbs the macro operation.

However, whenever ImageJ opens a new window (see macro), it returns to visibility.
The current behaviour appears not logical to me. I only could work-around by setting everything into batch mode (not practical) or to switch to a different "Space" (not practical either).
Ideally, after processing I would tell ImageJ to return to visibility and show "Processing finished".

//open an image every 2 sec:
for (jj = 1; jj <=10; jj++){
        newImage("ABC"+jj, "8-bit random", 400, 400, 2);
        wait(2000);
        close;
}


Norbert Vischer

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