Created
August 5, 2021 14:57
-
-
Save ltpitt/a303d5967f55f359040e5410b51f18e7 to your computer and use it in GitHub Desktop.
A quick and dirty hack to type into fields where you cannot paste
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from pyautogui import typewrite | |
import easygui | |
text = easygui.textbox("Paste your text here, click on ok and then click in the field where you want the text to be pasted and wait for 10 seconds.", "Paste-into-anything-3000") | |
time.sleep(10) | |
typewrite(text, 0.01) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment