I am having a little difficulty capturing a child Window
The Window's name always changes, however the "Result" in the script below always brings back what I think is the proper name of the Window.
SetFocus>GoldMine*
GetControlText>GoldMine*,GMRecord,1,Result
MDL>%Result%
//////The part above always returns the name on the top of the Window I am trying to Set Focus to. The name is always in the %Result% variable/////////
/Let>WF_TYPE=3
Setfocus>%Result%*
GetactiveWindow>wname,x,y
/Setfocus>%wname%*
MDL>%wname% %x% %y%
When I view system Windows I get the following:
7537198 - GMRecord "Martin Specie"
When I run the above script Martin Specie is what is shown in the first Message box so the *Result* is showing the name of the Window: however, I need the x,y so I can capture info in the box.
Any ideas on what I am doing wrong?
Thanks in advance