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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Cammer, Michael-3
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?

I am using 1.53h6.

Thank you.



Michael Cammer, Sr Research Scientist, DART Microscopy Laboratory

NYU Langone Health, 540 First Avenue, SK2 Microscopy Suite, New York, NY  10016

[hidden email]<mailto:[hidden email]>  http://nyulmc.org/micros  http://microscopynotes.com/

Voice direct only, no text or messages:  1-914-309-3270 and 1-646-501-0567


------------------------------------------------------------
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
=================================

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

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

Wayne Rasband-2
> 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