Untitled
unknown
plain_text
a year ago
641 B
10
Indexable
import pyautogui
import pyperclip
from time import sleep
def coletaInfo():
email = pyautogui.prompt(text='Digite seu e-mail', title='Informações obrigatorias')
senha = pyautogui.password(text='Digite sua senha:',title='Informações obrigatorias', mask='*')
return email,senha
def abrirBloco():
pyautogui.hotkey('win', 'r')
sleep(0.5)
pyautogui.typewrite('notepad')
pyautogui.press('enter')
def escrever():
email,senha = coletaInfo()
pyperclip.copy(email + '\n' + senha)
pyautogui.hotkey('ctrl','v')
abrirBloco()
pyautogui.leftClick(-1224,458,duration=1)
escrever()Editor is loading...
Leave a Comment