Anferny Posted February 15, 2005 Share Posted February 15, 2005 How do you use the pixelsearch? I might be using the wrong function though. I want it to search for a certain pixel color and click it once. Have all the pixel hexs and the coords for rectangle. RGB: Hex: 0x7C706F TOP LEFT: X: 261 Y: 264 TOP RIGHT: X: 1018 Y: 263 BOTTOM LEFT: X: 260 Y: 754 BOTTOM RIGHT: X: 1015 Y: 753 That's just one of them, but if someone could show me what it would look like if it were to find that color within that rectangle and then click it once. Link to comment Share on other sites More sharing options...
Insolence Posted February 15, 2005 Share Posted February 15, 2005 PixelSearch ( TopX, TopY, BottomX, TopY, Color, etc.) It's in the help file. Then look at MouseClick. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
Blue_Drache Posted February 15, 2005 Share Posted February 15, 2005 Try this thread too:http://www.autoitscript.com/forum/index.php?showtopic=8490PixelSearch isn't the easiest thing in the world, judging by the numerous posts about it in the forums. Remember, it returns an array, so be prepared to deal with that too. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache 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