Jump to content

First Script; PGC help


Recommended Posts

i dont understand how it works... how can you tell which color, exactly, the pixel is...? do u have to edit it in paint and check the "define custom colors" tab? what programs will i need to assist me in finding the colors/plugging in the values of these certain colors? i cannot find this in the AutoIt help file. please help, thanks.

Link to comment
Share on other sites

look at PixelGetColor() in the help file, this will make it clear to you.

Edit: 'AutoIt Window Info' is a useful application that will tell you a lot of things about the things under your mousecursor (such as pixelcolor)

it comes with standard autoit release

Oh okay, I see that... but what does the "Dec: 16777215" mean? What value is this showing me?

Link to comment
Share on other sites

Hex = 0xFFFFFF

Dec = 16777215

represent the same value in two different counting systems.

That is the value of the color of the pixel under your current mouseposition. :D (a.k.a. Color under Mousecursor)

And what do you suggest I use for the scripting? The Hex or the Dec? I have plugged in the Hex but if it's innconvienient then I'll switch. :D

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