Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! python3
- import pyautogui, sys
- import pyscreeze
- print('Press Ctrl-Z to quit.')
- while True:
- try:
- x, y = pyautogui.locateCenterOnScreen('gabunfollow.png', region=(1000,155, 1140, 745))
- pyautogui.click(x, y)
- pyautogui.PAUSE = (0.4)
- except:
- pyautogui.scroll(-9, x=1304, y=440)
- pyautogui.PAUSE = (0.1)
- pyautogui.click(x=897, y=678)
- pyautogui.PAUSE = (0.1)
- print("miss")
Advertisement
Add Comment
Please, Sign In to add comment