
# https://www.globalsino.com/ICs/page4853.html
# typewrite function

import pyautogui as pg
import time

# Get the coordinates at a position
print(pg.position())

time.sleep(2)

# useful for entering text, newline is Enter
pg.typewrite('Hello world!\n', interval=0.2)

pg.typewrite(['a', 'b', 'c', 'left', 'backspace', 'enter', 'f1'], interval=0.2)


