My Pyautogui Cheat sheet
05-August-2022
WHAT IS PYAUTOGUI?
WHAT IS PYAUTOGUI?
Pyautogui is a library made by Al Sweigart to control your mouse and keyboard in windows Mac (and I think linux) .
you can find a full explanation from him on Chapter 20 of his book Automate the Boring Stuff .
What do I use it for?
What do I use it for?
When I don't have the access to the automation tools in the app.
When I don't what to go threw the trouble of writing something complex for just a couple click
To keep my to run a report that needs to be run when I'm sleeping
Libraries
Libraries
Keyboard
Keyboard
HOTKEYS
HOTKEYS
MOUSE
MOUSE
CLICK ON THE CENTER OF AN IMAGE
CLICK ON THE CENTER OF AN IMAGE
The program will look for the image you give it in the screen, (it does not work that well with 2 screens or more screens)
These are some of the most useful code I use