Re: Add a skip button to wait_for_user?
Posted by
Michael Schmid on
Oct 05, 2016; 8:52am
URL: http://imagej.273.s1.nabble.com/Add-a-skip-button-to-wait-for-user-tp5017274p5017286.html
Hi Tim,
what about asking the user to close inappropriate images?
You could have
id=getImageID();
before waitForUser, and afterwards check with
isOpen(id)
whether the image has been closed during the 'Wait For User' phase.
Michael
________________________________________________________________
On 2016-10-03 23:32, Feinstein, Timothy N wrote:
> Hello,
>
> I want to add a button to the wait_for_user dialog. My macro processes a
> large number of images with a single user interaction for each image, and
> once in a while an image comes up that is inappropriate for analysis. It
> is not always easy to detect which images can't be analyzed automatically.
> Does anyone know if you can put a 'skip' button with programmable
> functionality (i.e., close active window and move on to the next) in the
> dialog?
>
> Thanks,
>
>
> Tim
>
> Timothy Feinstein, Ph.D.
> Research Scientist
> University of Pittsburgh Department of Developmental Biology
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html