Hi Heinrich,
On Tue, 16 Jul 2013, Heinrich Grabmayr wrote:
> I am trying to get my first macro to work. In the process, I would like
> the user to set the threshold of an image. therefore, I call
>
> run("Threshold...");
>
> afterwards, I proceed processing the image. However, this line calls the
> threshold window and the macro goes on right away, without waiting for
> an application of threshold. Is there a way to make it wait for the
> user to adjust the parameters?
Yep:
http://imagej.net/developer/macro/functions.html#waitForUserCiao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html