event handler javascript for an unexpected winformsobject window
I have a modal popup that occurs quite frequently in my desktop application. it is simply a status message box that pops up and goes away on its own after a few seconds or as much as a minute, however, in the namemapping/objectbrowseer it shows up defined as a WinFormsObject rather that a Window (see attached image of the objectbrowser for this object). I am trying to add this to my GeneralEvents_OnUnexpectedWindow event handler where I have created the script that handles Window popups but the appearance of the status box in my application never seems to trigger this event handler. (see attached image of javascript code). Can a WinFormsObject be handled within this event handler or will it only handle something that is defined as a Window?
Here's an explanation and examples that may help you out.
That's under this part in that same documentation. Try changing your timeout value.
-