Untitled
import pyautogui import pyperclip from time import sleep import keyboard def abrirBloco(): keyboard.press_and_release('win+r') sleep(1) pyautogui.typewrite('notepad') pyautogui.press('enter') def escrever(frase): pyperclip.copy(frase) pyautogui.hotkey('ctrl','v') abrirBloco() pyautogui.leftClick(-1435,404,duration=1) escrever('Automação é Incrivel')
Leave a Comment