Forum Discussion
steve_hall
13 years agoContributor
Thanks Tanya,
In hindsight, I was being a little stupid - I was wanting the event to fire on the appearance of the unexpected window, without my script then trying to proceed(!).
Anyway, that makes more sense now.
However, can you now please explain....
In the project properties window, there is the "On unexpected window" section, with the 6 checkbox options. My understanding is that 4 of these (click on focused controls, press esc, press enter, and send wm_close) should, one way or another, close the unexpected window. In fact, I had to add a "call window.close" to my unexpected window handler, as none of these 4 options closed the window.
What am I misunderstanding here - what are these 4 options for?
Thanks
Steve
In hindsight, I was being a little stupid - I was wanting the event to fire on the appearance of the unexpected window, without my script then trying to proceed(!).
Anyway, that makes more sense now.
However, can you now please explain....
In the project properties window, there is the "On unexpected window" section, with the 6 checkbox options. My understanding is that 4 of these (click on focused controls, press esc, press enter, and send wm_close) should, one way or another, close the unexpected window. In fact, I had to add a "call window.close" to my unexpected window handler, as none of these 4 options closed the window.
What am I misunderstanding here - what are these 4 options for?
Thanks
Steve