Jump to content

Find Color


Medic873
 Share

Recommended Posts

I am not having trouble with finding a color on the screen but i am having trouble finding the color to find

i dont know how to convert the color into the code needed to find on the screen

this is pure red 0xFF0000

how can I find my own so a red with a slight yellowish tent to it

where can i find this data

Link to comment
Share on other sites

if you have the color on the screen, you can use the window info tool supplied with autoit. Under the summary tab or mouse tab it gives you the color code

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

PixelSearch() has a variable for shade variation. This may work for what you want (may also find stuff you don't want), but it's worth checking out. You could also load up something like http://www.colorpicker.com/ to pick the color you want, and it has the color code. But if the color you want is on the screen, use the AutoIt Window Tool (Ctrl + F6 in SciTE, or from the AutoIt start menu).

We ought not to misbehave, but we should look as though we could.

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