Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pyautogui
- def play_button():
- play = pyautogui.locateCenterOnScreen('play_button.png', grayscale=True)
- if play is None:
- pass
- else:
- pyautogui.moveTo(play)
- pyautogui.click()
- while 1:
- play_button()
Advertisement
Add Comment
Please, Sign In to add comment