I am looking for the text "HereIAM" in a Window Called SoftwareWin. (Always in the same position)
- Text Capture Wizard can not find any text at all.
- "FindObject Wizard" finds this OK. But The resulting code is not working
Window: 850D48 [HwndWrapper[Can.M210.App.exe;;9028b7b1-6731-440c-85a7-8d087498a576]]
UIAutomation Name:
UIAutomation Value: HereIAM
Parent: SoftwareWin
"Insert Code" Gives:
Code: Select all
GetWindowHandle>Find Object Wizard,hWndParent
FindObject>hWndParent,TTabbedNotebook,,1,hWnd,X1,Y1,X2,Y2,result
It gives all the objects and I have to parse out the result
Code: Select all
UIAccessibleList>SoftwareWin,resList
SoftwareWin= [-32000,-32000,160x28]
= [-32000,-32000,1920x1080]
User= [-31998,-32000,180x38]
Capture= [-31816,-32000,180x38]
Report= [-31634,-32000,180x38]
= [-31444,-32000,22x40]
Settings= [-31233,-32000,84x38]
= [-30719,-32000,45x38]
Logout= [-30659,-32000,130x38]
= [-30514,-32000,45x38]
= [-30469,-32000,389x40]
CanDiv= [-30160,-31994,60x28]
= [-32000,-31959,1920x1039]
= [-32000,-31959,1920x180]
ID= [-31970,-31936,76x22]
=HereIAM [-31845,-31939,392x28]
= [-31970,-31877,517x68]
Name= [-31968,-31877,46x23]
....
Thanks!