Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Second matching window
#1
The application I'm trying to automate uses TWO controls of the Internet Explorer Server class. They are visible at the same time. They have the same id. The only difference that QM picks up is coordinates. I assume they have different ZOrder.

I'd hate to use coordinates to locate the window as I'd like to avoid re calculating them for different screen resolutions.

How can I get QM to give me the hwnd for the second window that matches particular criteria?

Thanks
Jake
#2
One of possible methods is using callback function with child. Another method - use function acc to find some other control, or window itself, navigate to the control you need (all this can be done in single acc call), and use child(a) to get hwnd.


Forum Jump:


Users browsing this thread: 1 Guest(s)