Answer the question
In order to leave comments, you need to log in
How to simulate a click?
Help. I wrote a program that, using screenshots, recognizes which key to press (the simulator is in the game, not the point).
Everything is recognized correctly, but the game does not skip the imitation of pressing a key, even through AHK. What to do?
Answer the question
In order to leave comments, you need to log in
Try this (c++ as it would be sadamaza in python).
Another option, if the previous one is 'too complicated' but autohotkey is acceptable, I can offer the following option - open the windows virtual keyboard and use autohotkey to click on the necessary buttons with the mouse
I recommend the pyautogui library https://pypi.org/project/PyAutoGUI/
This library allows you to do all user actions. Very large functionality for fast work and the documentation is very simple
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question