Pixel Search Keeps click on random places Topic is solved

Ask gaming related questions
Nathann

Pixel Search Keeps click on random places

07 Feb 2018, 11:32

I'm trying to make a script that will search for a blue color and click on it but it keeps click random spots, usuallt clicks on a black place

Code: Select all

LAlt::

Loop
{
Sleep 1000
PixelSearch, Px, Py, 430, 60, 1210, 850, 51A9DA, 5, Fast
if ErrorLevel
MsgBox, That color was not found in the specified region.
else
   click %Px%, %Py%

Sleep 5000
}
Esc::ExitApp

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 8 guests