PyAutoGUI

What is PyAutoGUI

PyAutoGUI lets your Python scripts control the mouse and keyboard to automate interactions with other applications. The API is designed to be simple. PyAutoGUI works on Windows, macOS, and Linux, and runs on Python 2 and 3.

A Python tool called PyAutoGUI enables you to automate your GUI and programmatically manage your keyboard and mouse. Since PyAutoGUI is not included with Python, enter the following line at the command prompt to install it:
pip3 install PyAutoGUI

PyAutoGUI has several features:

  • Moving the mouse and clicking in the windows of other applications.
  • Sending keystrokes to applications (for example, to fill out forms).
  • Take screenshots, and given an image (for example, of a button or checkbox), and find it on the screen.
  • Locate an application’s window, and move, resize, maximize, minimize, or close it (Windows-only, currently).
  • Display alert and message boxes.

Full documentation can find here : https://pyautogui.readthedocs.io/en/latest/


Technology Python Programming Entertainment Python3 Linux Web-development Linux-mint Centos 7 Book
ziabs @ 12 Oct 2022