Created
August 24, 2020 01:43
-
-
Save wonsolution/ca0337f74f78375df234062fa871f235 to your computer and use it in GitHub Desktop.
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 pyautogui as ag | |
import keyboard | |
import time | |
mpos_list=[] | |
while True: | |
while True: | |
if keyboard.is_pressed('F3'): | |
mpos = ag.position() | |
mpos_list.append(mpos) | |
print(mpos) | |
break | |
while True: | |
if keyboard.is_pressed('F4'): | |
print('F4') | |
break | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment