Jump to content
Sign in to follow this  
Jammer

Getting pixel color

Recommended Posts

Jammer

I need to get the pixel color at coords 300,200. Not the screens coords but the windows coords. Also the window is inactive. Is it possible?

Share this post


Link to post
Share on other sites
Xav

Huh can you precise plz ?you want to get COLOR or Mose go at with func move ??

If its like the windows it will be the same cord of the screen...?

Edited by Xav

Share this post


Link to post
Share on other sites
Jammer

I need to get the pixel color in the window which is not active. Or not in front. For example my IE is opened but my active window is CS and I need to get the pixel color at IE window with coords 24,24 or something like that.

Share this post


Link to post
Share on other sites
Xav

I need to get the pixel color in the window which is not active. Or not in front. For example my IE is opened but my active window is CS and I need to get the pixel color at IE window with coords 24,24 or something like that.

Lol i use c/s and the + your mose is in the center so take him face into the + :P

Or you can try with this ...

It will take the color hex-decimal from into the screen you have to put x/y and it will scan the color from it :blink: if u need any color i m here :) (on cs)

Sleep(3000); the time to active the screen

$var = PixelGetColor( 200 , 200 )
MsgBox(0,"The decmial color is", $var)
MsgBox(0,"The hex color is", Hex($var, 6))

Or another idea just came its take screen shot then see colors but i m not sure if this will work ...

Edited by Xav

Share this post


Link to post
Share on other sites
Jammer

CS - counter-strike

Share this post


Link to post
Share on other sites
Jammer

bump

Share this post


Link to post
Share on other sites
Jammer

I mean I want the program to run in the background, search pixel color of a window which is not active. Any other window could be ontop of it.

Share this post


Link to post
Share on other sites
herewasplato

That is not going to happen unless you run the program in some VM software like Microsoft Virtual PC.


[size="1"][font="Arial"].[u].[/u][/font][/size]

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  

×