I have a program that detects open windows when performing a specific task.
I added a procedure that sends some json data with netWebClient.
After that call there is an additional window left open (hidden?).
How can I close it or how can I detect it?
The code to check open windows:
!Window1 &WINDOW
!Window2 &WINDOW
WO# = false
Window1 &= System{PROP:Target}
loop J# = 1 to 64
SetTarget(,J#)
Window2 &= System{PROP:Target}
if not Window2 &= Window1
WO# = true
break
end
end
SetTarget()
if WO# = true
message('open window detected')
end