Jump to content

pixel color


Guest bshill
 Share

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.

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...