stn9063 Posted June 27, 2006 Share Posted June 27, 2006 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 More sharing options...
jvanegmond Posted June 27, 2006 Share Posted June 27, 2006 (edited) 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 Edited June 27, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
stn9063 Posted June 27, 2006 Author Share Posted June 27, 2006 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 releaseOh okay, I see that... but what does the "Dec: 16777215" mean? What value is this showing me? Link to comment Share on other sites More sharing options...
jvanegmond Posted June 27, 2006 Share Posted June 27, 2006 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. (a.k.a. Color under Mousecursor) github.com/jvanegmond Link to comment Share on other sites More sharing options...
stn9063 Posted June 27, 2006 Author Share Posted June 27, 2006 Hex = 0xFFFFFFDec = 16777215represent the same value in two different counting systems.That is the value of the color of the pixel under your current mouseposition. (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. Link to comment Share on other sites More sharing options...
Valuater Posted June 27, 2006 Share Posted June 27, 2006 i use the RGB Hex Color example $pos = MouseGetPos() $Svar = PixelGetColor( $pos[0] , $pos[1]) $var = "0x" & Hex($Svar,6) 8) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now