let windowArray = ImageWindow.openWindows;
for (let i = 0; i < windowArray.length; ++i)
{
windowArray[i].mainView.id = "whatever";
}
Because that link is to the PCL reference documentation - ie the C++ class library for process development. What you want is the PJSR reference which can be found within PixInsight if you go to the View menu and open up Object Explorer.Hello Mike,
it worked like a charm!
I wonder why I can't find that static variable openWindows in the doc page https://pixinsight.com/developer/pcl/doc/html/classpcl_1_1ImageWindow.html
thanks a lot !