ITSky8 Posted February 22, 2008 Posted February 22, 2008 Hello! I need to monitor my screen's change by checking the Pixel's color change, I know that can get the PixelGetColor(X,Y), and change it to the Hex value, but why my below coding is incorrect, please help to check and advise, thanks! CheckColor() Func CheckColor() $var = PixelGetColor( 10 , 100 ) $Color=String(Hex($var,6)) if $Color="EFEBDE" Then MsgBox(0,"The color is match") Else MsgBox(0,"The color is not match") EndIf EndFunc
Zedna Posted February 22, 2008 Posted February 22, 2008 not tested: $var = PixelGetColor( 10 , 100 ) $Color=Hex($var,6) if $Color=0xEFEBDE Then Resources UDF ResourcesEx UDF AutoIt Forum Search
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now