controlling the keyboard and mouse with gui automation installing the pyautogui module setting up accessibility apps on macos staying on track pauses and fail-safes shutting down everything by logging out controlling mouse movement moving the mouse getting the mouse position controlling mouse interaction clicking the mouse dragging the mouse scrolling the mouse planning your mouse movements working with the screen getting screenshot analyzing the screenshot image recognition getting window information obtaining the active window other ways of obtaining windows manipulating windows controlling the keyboard sending string from the keyboard key names pressing and releasing the keyboard hotkey combinations setting up your gui automation scripts review of the pyautogui functions projectautomatic form filler step figure out the steps step set up coordinates step start typing data step handle select lists and radio buttons step submit the form and wait displaying message boxes summary practice questions practice projects looking busy using the clipboard to read text field instant messenger bot game-playing bot tutorial xxii contents in detail