While automating an process in a MDI application, I try to use AutoHotKey.
On a given time, a new mdi child window popups in the MDI application, and I would like to "wait" my autohotkey script until this is opened.
So I was heading for a loop that checks if the control (mdi child) exists.
Using ControlGet, I can't seem to get the mdi child.
This is the child which I would like to know if exists or not.
AutoSpy:
( Now Under Mouse Cursor )
ClassNN: FNWND31101
Text: Phrase Extraction
Perhaps I am not using the correct AutoHotKey function to find this?
Script
WinWait, FNWND31101,, 10
if ErrorLevel
{
MsgBox, WinWait timed out.
return
} else
{
MsgBox, Found control
}