Re: only some macros "record" with dialog box options

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: only some macros "record" with dialog box options

dpoburko
Hi all,

  I will apologize up front, as I imagine that the answer to this
question is in the IJ documentation somewhere. But I haven't been able
to find it.

  I would like to call one macro from another in the run("macro",
"options")fashion, similar to calling an ImageJ command from a macro. My
aim here is to suppress the dialog box from the macro that is being
called. For one of my macros
(http://imagej.nih.gov/ij/macros/Mulitple_Thresholds.txt), when I run
the macro with the command recorder open, it assigns keywords to the
variables defined in the dialog box. Unfortunately, other macros don't
do this. Can anyone explain to me how to make ImageJ (or the command
recorder) define keywords for a dialog box for any old macro, such that
the macro could later be called from other macros in the run("macro",
"options") method? I've tried "installing" the macros, assigning the
keyboard shortcuts. But that didn't help.

Thanks, Damon