Hello, I'm back, i want to improve my AutoIT Skill, so i decited to create simple APP.
I decided to work with my calc.exe , so.
There is small example what i wanted to take.
1. ControlSend 2
2. ControlSend +
3. ControlSend 2
4. ControlClick =
Bold Works, None Nope.
Why ControlClick? thats why i want use a Mouse Click to improve my Control Skill , just Control Send would be so easy to me, I'm always looking for hardest way so.
There's my script:
Opt('WinTitleMatchMode','2') $Title = 'Kalkulator' $process = WinGetHandle(WinGetTitle($Title)) ControlSend($process,'','',"{2}") ControlSend($process,'','',"{+}") ControlSend($process,'','',"{2}") ControlClick($process,'','',"left",1,200,250)
Working fine 1,2,3 but it can't click the button = via mouse left click.
x= 200 and y = 250 are possitions i taken from _WinApp_ GetMouse Possitions so I'm sure it's corretly, you can also check in this picture, i also made small red point where should be mouse click.
It was placed on top left corner and was minimized.