Login  Register

How to avoid displaying the results in a macro

Posted by Avital Steinberg on May 23, 2015; 9:55am
URL: http://imagej.273.s1.nabble.com/How-to-avoid-displaying-the-results-in-a-macro-tp5012925.html

Hi,
I am writing a macro that works in batch mode. Therefore, the images are
not displayed. However, the results table is displayed and updated every
time a measurement is done.

I do not need to display the results table at all. I use some of the
results to perform some calculations, and I am saving the results that I
need in a file.

How can I avoid displaying the results? (it updates the results table every
time a row is added)  I haven't found a way to do that. I know how to do
things like this in Java, but not in a macro.

Also, I have a Window/Level adjustment window that I would like to close.
How can I close it or hide it? ( run("close") would work if I knew how to
select this window)

Thank you,
Avital

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