i have a script which automates a software.
There is a lot of exporting through a child window, and it works
fine 90% of time.
But sometimes it stops with an error: Object not located in FindObject
The same object is found 90% of the time.
The code in question is:
Code: Select all
WaitWindowOpen>Export %Folder%\%File_Name%
Wait>0.5
GetWindowHandle>Export %Folder%\%File_Name%,hWndParent
Wait>1
FindObject>hWndParent,TCheckBox,,12,hWnd,X1,Y1,X2,Y2,result