Login  Register

Re: selectWindow("ROI Manager") not working when window minimized

Posted by Wayne Rasband-2 on Dec 16, 2020; 9:17pm
URL: http://imagej.273.s1.nabble.com/selectWindow-ROI-Manager-not-working-when-window-minimized-tp5024280p5024282.html

> On Dec 16, 2020, at 12:34 PM, Cammer, Michael <[hidden email]> wrote:
>
> If the ROI Manager window is hiding behind other windows, the following works fine to pop it to the front.
>
> selectWindow("ROI Manager");
>
> But if the ROI Manager window has been minimized, then running the above does not work.  But selecting it in the Window pull down menu works fine.
>
> Is there a way to please have the macro command work for when ROI Manager has been minimized?

This bug is fixed in the ImageJ 1.53h8 daily build. This problem with using selectWindow(windowTitle) on minimized windows was not limited to the ROI Manager.

-wayne
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html