Sign in to follow this  
Followers 0
riceking

Finding Pixel Color, then Click

8 posts in this topic

I tried searching but no help plz if u can help me.

I want to have autoit search a specific pixel and if it turns

r=0

b=0

g=255

a=0

then it will click alot if not it won't. plz help, thx :P


\

Share this post


Link to post
Share on other sites



$pix = PixelSearch(0,0,@DesktopWidth,@DesktopHeight,0x0000FF);should work, I just woke up so it may not
MouseClick("left",$pix[0],$pix[1],1,0)

Share this post


Link to post
Share on other sites

thx so much, btw uhhh how do u know all the function commands is there a tutorial? thx btw


\

Share this post


Link to post
Share on other sites

There is something called the 'Help File'.

AlmarM


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

There is something called the 'Help File'.

AlmarM

how O.O where, sorry im just new

\

Share this post


Link to post
Share on other sites

u can find it in the autoit folder or open the autoit editor then press F1

Share this post


Link to post
Share on other sites

u can find it in the autoit folder or open the autoit editor then press F1

Bit of a warning about F1 and SciTE. For me (multiple computers) it seems the script has to be saved for F1 to respond so don't think things aren't working if it doesn't appear immediately. Just go to Help>Help :P.

Share this post


Link to post
Share on other sites

k thx


\

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