DevTricks

PixelSearch поиск цвета пикселя

Feb 10th, 2021 (edited)
392
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, 200, 200, 300, 300, 0xC9F2DE, 3, Fast
  5.     if ErrorLevel = 0
  6.         ToolTip, Цвет найден`nX: %Px% Y: %Py%, 20, 20
  7.     else
  8.         ToolTip, Цвет не найден, 20, 20
  9.     sleep 30
  10. }
Add Comment
Please, Sign In to add comment