Answers for "how to use hot keys in pyautogui"

0

pyautogui hotkey

>>> pyautogui.hotkey('ctrl', 'c')  # ctrl-c to copy
>>> pyautogui.hotkey('ctrl', 'v')  # ctrl-v to paste
Posted by: Guest on December-08-2020
12

python hotkey pyautogui

>>> pyautogui.press('enter')  # press the Enter key
>>> pyautogui.press('f1')     # press the F1 key
>>> pyautogui.press('left')   # press the left arrow key
Posted by: Guest on October-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language