tlokz Posted July 18, 2008 Posted July 18, 2008 How to properly take PixelGetColor and use them in your scripts because I used this:HotKeySet("{F1}", "Check") Opt("MouseCoordMode", 2) Opt("PixelCoordMode", 0) While 1 Sleep(100) WEnd Func Check() $K = MouseGetPos() MouseMove(50,50,0) Sleep(100) $Color = PixelGetColor($K[0], $K[1], WinGetHandle(WinGetTitle(""), "")) ClipPut("If PixelGetColor(" & $K[0] & ", " & $K[1] & ") = " & $Color & " Then") EndFuncAnd it doesn't work properly. I'm using this to check if your in a game Diablo II, It will check if a certain pixel exists n an area that it only exists when your in gameSS:http://img295.imageshack.us/img295/2267/18833832aq9.jpgNow, would PixelChecksum be better?
tlokz Posted July 18, 2008 Author Posted July 18, 2008 (edited) Um, Help?Edit:http://www.autoitscript.com/forum/index.ph...l=pixelgetcolorFound That and it seems that Vista Ultimate's Aero Theme was messing it up Edited July 18, 2008 by tlokz
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