Login  Register

Re: MultiMeasure prompts user to click ok

Posted by dpoburko on Jul 05, 2010; 10:41pm
URL: http://imagej.273.s1.nabble.com/MultiMeasure-prompts-user-to-click-ok-tp3687622p3687625.html

Sorry for the long delay in replying. I'm on vacation and not checking
email too much. Did you ever solve your Multi-measure prompting problem?
I have all kinds of macros that use multi-measure, and they don't have
the prompt problem. Could you post your script? Also, what OS and IJ
version are you running?

Cheers,
Damon

On 6/25/2010 2:06 AM, Sarah W. wrote:

> 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
>
>
>
> 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
>