I've tried with UIAccessor but couldn't find a way to check if the Listener Window was open or not. I want to check its status and if it's not open before the execution of the script then upon closing the script it will close it again. I can close the dialog fine with the code below but it's checking if it's open where the problem is.
UIAccessor.CloseDialog (windows.getchildhwnd 0 "MAXScript Listener")[1]
By 3dwannab · 2021-09-12
Swordslayer · 2021-09-14