Login  Register

Re: Jython: close plugin dialog box in a loop

Posted by kungphil on Sep 26, 2013; 6:52am
URL: http://imagej.273.s1.nabble.com/Jython-close-plugin-dialog-box-in-a-loop-tp5004943p5004945.html

I have figured out my own problem! The dialog is called "Results", so:

from ij import IJ
w = WindowManager

win = w.getWindow("Results")
win.removeNotify()

This closes dialog without asking whether saving is required.