Anferny 0 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. Share this post Link to post Share on other sites
Insolence 2 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. Share this post Link to post Share on other sites
Blue_Drache 260 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 Share this post Link to post Share on other sites