Re: Control of events in a macro?
Posted by
Krs5 on
May 05, 2015; 8:10am
URL: http://imagej.273.s1.nabble.com/Control-of-events-in-a-macro-tp5012702p5012718.html
Dear Pedro,
This is possible.
Dialog.create("Checkbox");
Dialog.addCheckbox("test", true);
Dialog.show();
test = Dialog.getCheckbox();
if (test==false)
print("false");
Best wishes
Kees
Dr Ir K.R. Straatman
Senior Experimental Officer
Advanced Imaging Facility
University of Leicester
http://www2.le.ac.uk/colleges/medbiopsych/facilities-and-services/cbs/lite/aif-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Pedro J Camello
Sent: 04 May 2015 12:46
To:
[hidden email]
Subject: Control of events in a macro?
Hi all,
In a macro, I want to create a dialog with an option Checkbox that determines if a number input box is active (if Checkbox clicked) or inactive (if the Checkbox unclicked).
Is it possible to do that in a macro? What I have found in the list about event handling only deals with plugins...
Thanks in advance
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html