gainstaa Posted September 2, 2007 Share Posted September 2, 2007 Hi, I was wondering if there was like some kind of chart the gave the decimal values colours because I don't know how Iam supposed to use this function without some reference. Am I supposed to trial and error??? Well the colour i need is more of a shade if thats possible or if not then dark brown. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 2, 2007 Moderators Share Posted September 2, 2007 Hi, I was wondering if there was like some kind of chart the gave the decimal values colours because I don't know how Iam supposed to use this function without some reference.Am I supposed to trial and error???Well the colour i need is more of a shade if thats possible or if not then dark brown.Use the autoitinfo tool provided for you in your autoit directory to find the color(s) you need by just mousing over the area you want to look at (use magnify in the options).If you need a variant shade of the color then look at PixelSearch() and just use the same right/bottom that you did for left/top. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
gainstaa Posted September 2, 2007 Author Share Posted September 2, 2007 Use the autoitinfo tool provided for you in your autoit directory to find the color(s) you need by just mousing over the area you want to look at (use magnify in the options).If you need a variant shade of the color then look at PixelSearch() and just use the same right/bottom that you did for left/top.where can i find this autoitinfo tool? Link to comment Share on other sites More sharing options...
gainstaa Posted September 2, 2007 Author Share Posted September 2, 2007 Ok i found it but it always says the colour is 0x000000 how do i make it ACTUALLY read the colour Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 2, 2007 Moderators Share Posted September 2, 2007 (edited) Ok i found it but it always says the colour is 0x000000how do i make it ACTUALLY read the colourRather than spending hours trying to explain it to you with the pixel functions, if you do it hands on, you'll probably pick it up in no time:http://www.autoitscript.com/forum/index.php?showtopic=21048The above link is a tutorial that can walk you through alot of things you'll be using on a regular basis with autoit, I'd suggest you start there.The 0x000000 is a hex number, if you ran that in a MsgBox(0, "info", 0x000000) you would see that the decimal value for that is 0. Edited September 2, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Nahuel Posted September 2, 2007 Share Posted September 2, 2007 If you Click on "Screen Color Picker" in my sig, you can take a look at my script. It has what you need. Link to comment Share on other sites More sharing options...
gainstaa Posted September 2, 2007 Author Share Posted September 2, 2007 well i figured it out now ty 4 help my css headshotter works like... well bad cause it shoots shadows too lol. 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