Re: MultiMeasure prompts user to click ok

Posted by Sarah W. on
URL: http://imagej.273.s1.nabble.com/MultiMeasure-prompts-user-to-click-ok-tp3687622p3687624.html

Hi Damon,

thanks for the advice! leaving the roi manager open as well as running the script in batch mode dramatically increased the speed of my script :)
but: it still prompts me to hit "ok"

i tried inserting "setBatchMode(true);" at the very beginning of the macro, as well as running it from the command line as "imagej -batch -my_macro.txt". both ways had no influence on the prompting. do i maybe need to run only part of the script in batch mode?

thanks,

sarah


<quote author="dpoburko">
Hi Sarah,

   If you run your script in BatchMode, it should suppress the
multi-measure prompt. Also, it's probably unneccessay to open and close
the ROI manager with each loop of the macro. You can simple delete all
the ROIs if you need to load a new set of ROIs.

Cheers,
Damon