DO specific (key or mouse) clicks and/or simulate typing a string when some given picture is visible on SCREEN
Install with pip
pip install -r requirements.txtOn Linux you also need to install python3-tk:
Example for Ubuntu:
sudo apt-get install python3-tkpython doscreen.py
python3 doscreen.py
threshold --> percentage of how similar the given picture must be to the image on the screen to trigger the assigned actions
click --> normal left click
r_click --> right click
dbl_click --> double click
key --> emulate pressing a key
type --> emulate typing a string
- You can use the
do_sth.pyto test different actions - You can use the
recog_pics.pyto test the picture recognizion - You can use the
recog_pics.pyor thedoscreen.pyto test the picture recognizion and value for thethresholdparameter - You can use the given example pics for all kinds of testing purposes as well
