Hello,
I am fairly new to Auto IT however, I ran into an issue when trying to ControlClick() on a tab in this one program. I was able to get the window handle and activate it and then I was able to get the control handle of the tab menu. But when I use ControlClick() with the two handles and with the ControlClick coords, it does not work. I tested MouseClick() and that works but I don't like using MouseClick() since it isn't as reliable as ControlClick().
Here is my code:
The window appears and is maximized perfectly fine, and when I get the $tabs handle I get the correct handle for the tab menu (checking it via the console output). The problem is the control click (I put 5 clicks just to test what would happen but nothing happened). Anyway, the MouseClick above it that is commented out works, but I want to find out why the ControlClick does not work.
Hopefully there is a solution.
Thanks