Sign in to follow this  
Followers 0
Anferny

Pixelsearch

3 posts in this topic

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



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

Try this thread too:

http://www.autoitscript.com/forum/index.php?showtopic=8490

PixelSearch 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

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0