Untitled
unknown
python
a year ago
398 B
13
Indexable
# Escrever no bloco de notas a frase: 'Automação é Incrível!'
import pyautogui
import pyperclip
def escrever_frase(frase):
pyperclip.copy(frase)
pyautogui.hotkey('ctrl','v')
# mover o mouse até o campo de digitar
pyautogui.moveTo(1345,561,duration=2)
# Clicar no campo de digitar
pyautogui.click()
# Digitar minha mensagem
escrever_frase('Automação é Incrível!')Editor is loading...
Leave a Comment