CoordMode, Pixel, Screen CoordMode, Mouse, Screen PixelSearch, Px, Py, 648, 133, 1134, 550, A07838, 3, Fast if ErrorLevel MsgBox, That color was not found in the specified region. else MsgBox, A color within 3 shades of variation was found at X%Px% Y%Py%. MouseClick, left, %Px%, %Py%
It worked in the past but if I run it now it returns and clicks the coordinates of a black pixel (000000). Why does it happen?