Sign in to follow this  
Followers 0
Guest bshill

pixel color

2 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by nathan546

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0