B
B
BonBon Slick2021-12-22 21:50:38
Automation
BonBon Slick, 2021-12-22 21:50:38

Auto clicker on specific screen image?

Once I read on Habré about a clicker that plays a mobile game and collects strips of the same color.

To automate the process, there are several green buttons on the screen a la "START", they must be pressed in turn after a certain period of time.

Manually is extremely expensive, trying to find that article or figure out how to automate it.
The platform is preferably Windows / PC, because run and it should work all day, for the phone you will need to download and configure the virtual machine.

As I imagine

  1. make a screenshot of the button
  2. configure the search for similar images on the screen with a screen
  3. if there are many images of 80%+ compatibility with the example, choose a random one from the array
  4. execute click
  5. repeat in a loop in time interval

Something like this, a python guide
Or here's another one for windows
Search an Image on Screen and Automate Mouse Click or run a Macro with Image Search Utility presented here. The Software Application presented here allow you to monitor a rectangular area on Screen and when a pre-defined image appears on screen, a Macro Script containing Mouse Clicks, Key Press and other Windows Automation action can be started automatically. This Image Search is really fast as all the calculations are done in the memory itself without requiring any hard disk activity.


Perhaps someone will advise?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Stolyarov, 2021-12-22
@Ni55aN

node.js + robotjs (for Desktop, since the platform was not specified, the same Android games can be run on Windows)

P
paran0id, 2021-12-22
@paran0id

Clickermann , if under Windows

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question