Login  Register

Bug or feature - This is the question

Posted by CARL Philippe (LBP) on Mar 31, 2021; 1:24pm
URL: http://imagej.273.s1.nabble.com/Bug-or-feature-This-is-the-question-tp5024561.html

Dear all,
The following small macro code will throw in an error
                WinOp = getList("window.titles");
// WinOp = Array.deleteValue(WinOp, "Command Finder");
                for(i = 0; i < WinOp.length; i++)
                {
                        selectWindow(WinOp[i]);
                        run("Close");
                }
unless I uncomment the second line of the code.
This means that I can't apply a "run("Close");" on a "Command Finder" window.
Thus is this restriction done in purpose or rather a bug?
My best regards,
Philippe

Philippe CARL
Laboratoire de Bioimagerie et Pathologies
UMR 7021 CNRS - Université de Strasbourg
Faculté de Pharmacie
74 route du Rhin
67401 ILLKIRCH
Tel : +33(0)3 68 85 42 89

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