Using AutoIt to click a button in a window

What function should I use to click the pop button after the program starts? For example, the league run button for legends is what I want to simulate a click.

+6
source share
1 answer

You can use MouseClick if you know the coordinates 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]") 
+9
source

Source: https://habr.com/ru/post/946480/


All Articles