Pywinauto and PyAutoGUI are Windows GUI automation library written python. They allows you to send mouse and keyboard actions to windows dialogs and controls.
Pywinauto: https://pywinauto.readthedocs.io/en/latest/contents.html
PyAutoGUI: https://pyautogui.readthedocs.io/en/latest/
Example script for MS Paint
Requirements:
- tested on Windows 10 (should work on Win7+)
- pywinauto 0.6.1+
- pyautogui