pysimplegui code example
Example 1: python pyautogui
>>> import pyautogui
>>> screenWidth, screenHeight = pyautogui.size()
>>> currentMouseX, currentMouseY = pyautogui.position()
>>> pyautogui.moveTo(100, 150)
>>> pyautogui.click()
>>> pyautogui.click(200, 220)
>>> pyautogui.move(None, 10)
>>> pyautogui.doubleClick()
>>> pyautogui.moveTo(500, 500, duration=2, tween=pyautogui.easeInOutQuad)
>>> pyautogui.write('Hello world!', interval=0.25)
>>> pyautogui.press('esc')
>>> pyautogui.keyDown('shift')
>>> pyautogui.write(['left', 'left', 'left', 'left', 'left', 'left'])
>>> pyautogui.keyUp('shift')
>>> pyautogui.hotkey('ctrl', 'c')
Example 2: add framework to input pysimplegui
window['-In-'].Widget.configure(highlightcolor='color')
window['-In-'].Widget.configure(highlightbackground='color')
highlightthickness=