|
Dear all,
I want to close a no image windows from a macro.
In instance when I run this part of macro:
---------------------------------
run("Brightness/Contrast...");
run("Enhance Contrast", "saturated=0.5"); // b&c "auto" settings..
run("Apply LUT");
---------------------------------
the B&C windows still remain open.
I just search in archives and I adapt what I found in the follow solution:
-------------------------------------
if(isOpen("B&C")) {
//print("open");
selectWindow("B&C");
run("Close");
}
--------------------------------------
Exist something more elegant/efficient?
Best regards,
nicola
|