Jump to content

Get color of the position of my mouse?


Recommended Posts

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

  • Developers

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 etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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 etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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 etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...