Jump to content
Sign in to follow this  
Guest bshill

pixel color

Recommended Posts

Guest bshill

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
nathan546

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.