Which function should I use in order to click a pop button after running a program? For example, the league of legends launcher button is what I want to simulate the click.
You can use either MouseClick if you know the coordinates of where to click:
MouseClick("left", x, y)
Or you can use ControlClick to click on a specific button:
ControlClick("Window title", "", "[classname provided by AutoitINFO]")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With