Basically, i try to take code from here https://autohotkey.com/docs/commands/PixelSearch.htm
Code: Select all
PixelSearch, Px, Py, 800, 300, 800, 350, 0x000000, 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%.
I opened pain window and fill whole document with black, and the script doenst work.
please help me find out how to fix this
http://prntscr.com/e0ull6 here is screenshot