Guest User

Untitled

a guest
Oct 27th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #! python3
  2. import pyautogui, sys
  3. import pyscreeze
  4. print('Press Ctrl-Z to quit.')
  5. while True:
  6. try:
  7. x, y = pyautogui.locateCenterOnScreen('gabunfollow.png', region=(1000,155, 1140, 745))
  8. pyautogui.click(x, y)
  9. pyautogui.PAUSE = (0.4)
  10. except:
  11. pyautogui.scroll(-9, x=1304, y=440)
  12. pyautogui.PAUSE = (0.1)
  13. pyautogui.click(x=897, y=678)
  14. pyautogui.PAUSE = (0.1)
  15. print("miss")
Advertisement
Add Comment
Please, Sign In to add comment