Posted by
Joachim Wesner on
Sep 08, 2009; 4:49pm
URL: http://imagej.273.s1.nabble.com/user-adjustment-of-thresholding-parameters-in-a-macro-tp3691269p3691271.html
This is very easy, if I understand your problem correctly: When you first
recorded your sequence, it will also record all the settings you used and
record something like:
run("<command>", "<args>")
Because of the <args>, the dialog will not show up and it will always use
the recorded parameters.
If however, you remove the <args>, i.e.
run("<command>")
the dialog will show up again!
If you only want to update some special parameters, I think you would need
to set up your own dialog to ask for those and build a custon <args> string
to use for run(...
Mit freundlichen Grüßen / Best regards
Joachim Wesner
Bill
Christens-Barry
<equipoise1@VERIZ An
ON.NET>
[hidden email]
Gesendet von: Kopie
ImageJ Interest
Group Thema
<
[hidden email]. user adjustment of thresholding
GOV> parameters in a macro?
08.09.2009 18:04
Bitte antworten
an
ImageJ Interest
Group
<
[hidden email].
GOV>
Is it possible in a macro to allow the user to adjust the thresholding
parameters before thresholding
takes place (say, by using the "Apply" button) and subsequent macro
commands occur?
In my attempts, the macro acts on parameter values that have been
previously set, with no pause to
allow user interaction with the thresholding panel. My look at the archives
and online macro
language manual didn't make it clear to me whether this could be done.
Thanks.
Bill
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________