Advertisement
DevTricks

PixelSearch and Click

Feb 10th, 2021 (edited)
817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CoordMode, Pixel, Screen
  2. loop
  3. {
  4.     PixelSearch, Px, Py, 1000, 365, 1010, 375, 0xC8760D, 3, Fast
  5.     if ErrorLevel = 0
  6.     {
  7.         MouseClick, left, %Px%+5, %Py%+5
  8.         break
  9.     }
  10.     sleep 30
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement