Untitled
Anonymous
python
09/13/2024 1:43 PM
464 B
34
Indexable
import pyautogui
import pyperclip
#criando a função que escreve.
def escreva(frase):
pyperclip.copy(frase)
pyautogui.hotkey('ctrl','v')
#abrir o bloco de notas
pyautogui.click(1360,1064, duration=0.5)
#clicar no campo de digitar
pyautogui.click(724,428, duration=0.3)
#escrever a mensagem
escreva("Automação é incrível!")Editor is loading...
Leave a Comment