Login  Register

Re: ROI Manager macro questions

Posted by Janne Hyötylä on Sep 29, 2010; 1:06pm
URL: http://imagej.273.s1.nabble.com/ROI-Manager-macro-questions-tp3686755p3686758.html

Thanks Wayne,

both things are now working.

Janne


On Tue, 28 Sep 2010 21:17:52 +0200, Rasband, Wayne (NIH/NIMH) [E]  
<[hidden email]> wrote:

> On Sep 28, 2010, at 8:48 AM, Janne Hyötylä wrote:
>
>> 1) Is there a way to call the More >> "Remove Slice Info" function from  
>> a
>> macro? Or is there another way to reuse a ROI but on a different slice
>> from a macro?
>
> Rename the ROI using roiManager("Rename", "newname") and you will then  
> be able to use it on a different stack.
>
>> 2) I've written a macro which creates, selects, deletes a lot of ROIs
>> using roiManager("") calls. I noticed that when I press Alt while the
>> macro is running and ImageJ has focus, a dialog comes up asking to  
>> rename
>> a ROI. This is on Linux with Fiji. Can I turn this behaviour off, i.e.
>> stop the ROI Manager from receiving keyboard commands while the macro is
>> running? I already have setBatchMode(true).
>
> This bug is fixed in the v1.44i daily build.
>
> -wayne