Jump to content
Sign in to follow this  
brussels

Get color of the position of my mouse?

Recommended Posts

brussels

I want to get the color of the pixel that my mouse is pointing at. I know there's MouseGetPos and PixelGetColor, but the object I want the color of moves all the time, so you can't tell the program to get the color of a specific pixel because by the time you run the script, the color has changed.

Edited by brussels

Share this post


Link to post
Share on other sites
Jos

I want to get the color of the pixel that my mouse is pointing at. I know there's MouseGetPos and PixelGetColor, but the object I want the color of moves all the time, so you can't tell the program to get the color of a specific pixel because by the time you run the script, the color has changed.

You have answered your own question you raised in the title of this topic.

So what is it you are looking for ?


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
brussels

but the object I want the color of moves all the time

I can't use those 2 things cause the object constantly moves.

Share this post


Link to post
Share on other sites
Jos

but the object I want the color of moves all the time

I can't use those 2 things cause the object constantly moves.

As I said... you answered your own question or are you looking for the "miracle func" options?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
brussels

No, I can assure you I didn't answer my own question. If the "miracle func" options have the answer, then sure.

Share this post


Link to post
Share on other sites
Jos

No, I can assure you I didn't answer my own question. If the "miracle func" options have the answer, then sure.

Ok, well I can't see how you would be able to figure out the proper pixel location give that, according to your earlier made statement, the pixel moved between the execution of the MouseGetPos() and the PixelGetColor() functions.

Jos ^_^

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

×