Login  Register

Re: macros

Posted by Wayne Rasband on Apr 09, 2009; 2:12pm
URL: http://imagej.273.s1.nabble.com/macros-tp3692993p3692994.html

> i am making up a macro using the record feature. i wanted to use "hit
> enter"
> in between each of the steps during execution. can someone help me with
> this. or a command or format for this requirement.

You can use the macro debugger, available in ImageJ 1.42e and later.
Press ctrl-d *Debug>Debug Macro) to start executing the macro and
ctrl-e (Debug>Step) to execute the next statement.
    http://rsb.info.nih.gov/ij/developer/macro/macros.html#debugger

You can also use the waitForUser() macro function to pause a macro.
    http://rsb.info.nih.gov/ij/developer/macro/functions.html#waitForUser

-wayne