|
|
Hello,
yes, this is possible. Howver, this claculator example is not very good example is not very good sample because although the claculator clear button displays [C] the control (of class "Button") itself does not have any title and thus cannot be recognized from other claculator buttons. This is how MTW describes the "path" to the control:
[Calculator|CalcFrame|#0|#0]\[|CalcFrame|#0|#0]\[|\#0|#0|#0]\[|Button|#0|#0]
As you can see, there si nothing that would indicate that this is "clear" button.
In such a case I would recommend to use <win_findimage> command that can match what is showing on window (display) against a bitmap picture you prepare in advance. The command then simply compares what is on the screen with the bitmap picture in a file and allows to navigate mouse to proper position.
Best regards,
Petr |
IP Logged
|