Re: Run macro line by line
Posted by
Eric Denarier on
Mar 25, 2016; 8:54am
URL: http://imagej.273.s1.nabble.com/Run-macro-line-by-line-tp5016009p5016010.html
Hi Volko,
If you open your macro in imageJ, the text window contains a Debug
function. You can go through the macro step by step. For this you have
to click Debug Macro then Step at each line of the macro (Ctrl +E) to
continue.
In Fiji you need to copy your macro (which opens in a macro editor) in a
new text Window (Plugin/New/Text Window) to get the Debug function.
Hope it helps.
Eric Denarier
Grenoble Institut des Neurosciences
Inserm U836
Chemin Fortuné Ferrini
38700 La Tronche
France
Tél :33 (0)4 56 52 05 38
http://neurosciences.ujf-grenoble.fr/Le 25/03/2016 09:34, Volko Straub a écrit :
> I'm trying to write a macro for batch analysis of a large set of
> images in a folder. Everything is working fine, but in the process of
> the analysis, the results table gets updated and opened/closed a few
> times. One of these prompts me for every cycle to select whether of
> not I want to save the previous results. I seem to have a bit of a
> mental block and don't seem to be able to figure out how to determine
> where in the macro this event occurs and how to prevent it. Is there
> an easy way to run the macro line by line or to see where the macro is
> aborted if I select 'Cancel' in the 'Save results' dialogue?
>
> Thanks for any advice/suggestions,
> Volko
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html