Harpydog Posted September 30, 2006 Share Posted September 30, 2006 Hey well i want to pixelsearch a little box in the top left of my screen.. i looked at the AuHelp.. but i just dont understand, it asks for a left, top , right and bottom coords.. but do i put the X coord or teh Y? =/ --Harpy Link to comment Share on other sites More sharing options...
jvanegmond Posted September 30, 2006 Share Posted September 30, 2006 (edited) Well.. A box has 4 sides to it. AutoIt asks for those coordinates in this order: Top, left, right, bottom. Example: A 40 pixel wide and 50 pixel tall box in the top left corner: top = 0 left = 0 right = 40 bottom = 50 Note: You might just need PixelGetColor. lol. Edited September 30, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
AceLoc Posted September 30, 2006 Share Posted September 30, 2006 (edited) Note: You might just need PixelGetColor. lol.Helpfile Ftw. $var = PixelGetColor( 10 , 100 ) MsgBox(0,"The decmial color is", $var) MsgBox(0,"The hex color is", Hex($var, 6)) Edited September 30, 2006 by aceloc [quote name='AceLoc']I gots new sunglasses there cool.[/quote] 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