Jump to content
Sign in to follow this  
Levitron

Pixel Color?

Recommended Posts

Levitron

Okay I'm completely knew but ive already got the rundown on know "automation's" but thats not what I intend anyway.I just want to know what "get pixel color" is used for how to do it.I really dont know where to start with it I just got this language yesterday so im still not sure when writing scripts ive only wrote 3 so far the longest being 86 lines.So what is Pixel Color for?

P.S I'm only 13 so dont be to hard on me :mellow:

Share this post


Link to post
Share on other sites
monoscout999

PixelGetColor as the help file says.

Returns a pixel color according to x,y pixel coordinates.

So using this function with the appropriate parameters it will return the decimal value of pixel's color.

This function is usefull when you work with images or when you have a window that resist automation.

For ex.

You have a window that resist automation with a picture(pic) that changes the color according some "status", so you should use this function to retrieve the color of the pic and know his "status".

Any question? just do it here and welcome to the forum.

EDITED: some words and a example.

Edited by monoscout999

Share this post


Link to post
Share on other sites
Levitron

So basically you pick a pixel(s) and it retrieves the status of the pixel and the exact color of them? What do you mean by the status?

Share this post


Link to post
Share on other sites
monoscout999

Status was an example of the use of that... it just get the color of a pixel.

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.