Pixel Search Keeps click on random places Topic is solved

Ask gaming related questions (AHK v1.1 and older)
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 Help (v1)”

Who is online

Users browsing this forum: No registered users and 83 guests