Guest bshill Posted June 14, 2004 Posted June 14, 2004 hello i am just wondering how i can get the exact color of a pixel. I am trying to use the spy but i get a range of colors instead of a constant. i.e. 13828095-11653086. I also tryed saving a screen shot and extracting the color with photoshop but that didnt work either. Any help would be aprechated.
nathan546 Posted June 14, 2004 Posted June 14, 2004 (edited) hello i am just wondering how i can get the exact color of a pixel. I am trying to use the spy but i get a range of colors instead of a constant. i.e. 13828095-11653086. I also tryed saving a screen shot and extracting the color with photoshop but that didnt work either. Any help would be aprechated.just write a script to find the pixel color like this Func PixelGet() MsgBox(4096, "Paused", "Put your cursor on a pixel color",) Sleep(2000) $Mouse = MouseGetPos() $Pixel = PixelGetColor($Mouse[0], $Mouse[1]) IniWrite("Config.ini", "Pixels", "Pixels", $Pixel) MsgBox(4096, "Paused", "Pixel color set",) EndFunc Edited June 14, 2004 by nathan546
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