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.
Asked
Active
Viewed 4.4k times
1 Answers
9
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]")

Mikaël Mayer
- 10,425
- 6
- 64
- 101