Схемка
Add(MainForm,2953706,133,49)
{
}
Add(FindWindow,14796849,238,154)
{
SkipParam=2
}
Add(WinEnum,5129929,238,105)
{
link(onFindWindow,10744834:doCompare,[])
}
Add(Edit,16355204,182,63)
{
Left=95
Top=10
Width=165
Text="блокнот"
link(onChange,1940176:doString,[])
}
Add(Timer,5446144,182,105)
{
link(onTimer,5129929:doEnum,[])
}
Add(StrMask,10744834,287,105)
{
Mask="*окно*"
Point(doMask)
link(onTrue,14234333:doEvent1,[])
}
Add(FormatStr,1940176,238,63)
{
DataCount=1
Mask="*%1*"
link(onFString,10744834:doMask,[(277,69)(277,118)])
}
Add(Hub,14234333,336,112)
{
link(onEvent1,5129929:doStop,[(359,118)(359,146)(228,146)(228,125)])
link(onEvent2,1740016:doMessage,[])
}
Add(Message,1740016,371,119)
{
Caption="Обнаружен"
}
Add(Button,5509700,133,91)
{
Left=25
Top=10
Caption="Поиск"
link(onClick,5446144:doTimer,[(172,97)(172,111)])
}
Add(Button,5721002,133,133)
{
Left=275
Top=10
Caption="Стоп"
link(onClick,5446144:doStop,[(172,139)(172,118)])
}