M
M
mortymels2021-10-28 15:35:14
autohotkey
mortymels, 2021-10-28 15:35:14

How to send clicks to multiple windows?

Prologue
Решил написать скрипт - кликер под автоматизацию рутины. Так получилось, что необходимо раз в 3 дня, в каждом аккаунте проводить одну и ту же операцию... Аккаунтов больше 30, рук 2, а желание послать все это с каждым днём всё крепчает.

I decided to use ahk (auto hotkey) for implementation.
Work done

Первым этапом создал сам алгоритм нажатий, просчитал тайминги, что бы не кликало раньше времени.

Вторым этапом зациклил все это дело и на этом этапе можно было бы остановиться, но теперь появилось время, что бы доработать скрипт!

Третьим этапом, разделил экран на 4 секции и начал проводить весь процесс в "4 потока" - теперь времени требуется в 4 раза меньше.

И вот финишная прямая : попытка прогнать все за минимальное время

Now I'm using the ControlClick function. If you use more windows, then you need to change the active window, because the windows begin to overlap, and you can't make them smaller than 1/4 of the screen - sliders appear. While "sending" a click to the window, it becomes active, but it often happens that even with the specified window, the click goes to the window from above.

Question:
Is it possible to implement the project on ahk in the form in which it is conceived?
If not, what is the best way to implement the idea?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question