Untitled
import pyautogui from time import sleep def abrirBloco(): pyautogui.hotkey('win', 'r') sleep(0.5) pyautogui.typewrite('notepad') pyautogui.press('enter') def print(): pyautogui.screenshot('notepad.jpg',region=(1089,185,588,677)) abrirBloco() print()
Leave a Comment