Untitled

mail@pastecode.io avatar
unknown
plain_text
12 days ago
285 B
3
Indexable
Never
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