I am currently trying implement pixelsearch into a bigger script, but was having problems. I have written this test script out in hopes to find what I'm doing wrong. I have been racking my brain over this and still can't think of anything
Code: Select all
F1::
CoordMode, Pixel, Screen
PixelSearch, Px, Py, 1307, 221, 1533, 878, 0xE76F51, 3, Fast
if Errorlevel
Msgbox, ERROR: NO
else
Msgbox, ERROR: YES
F2::reload
F3::exitapp
Thank you for anyone's help!