Jump to content
Sign in to follow this  

Pixel search + Mouse Click

Recommended Posts


Can anyone help me or give me a default format I can use to program a program that basically searches a specific window for a shape/color and then if it find that shape/color click a specific coordinate on the screen. If there's no way to search for a shape, can I just program it to look for a series of colors at different key points that would help identify the shape?

somewhere along the lines of

PixelSearch ( left, top, right, bottom, color [, shade-variation [, step [, hwnd]]] )

PixelSearch ( left2, top2, right2, bottom2, color2 [, shade-variation2 [, step2 [, hwnd2]]] )

if @error != 1

_MouseClick($hwnd, "left", Array[0], Array[1])


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.