Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- import pyautogui
- def send_key(key):
- pyautogui.press(key)
- # youll need to context switch to the application listening for the keys
- send_key('1')
- send_key('2')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement