tidyboy5050 Posted April 17, 2007 Posted April 17, 2007 Hi i am a noob to AutoIT I wanted to make a basic script which would check if an area was a certain colour (say yellow) , if it was yellow it wouldclick somewhere.Or if it was red it would click somewhere else or blue it would click another place.I just can't seem to get it The PixelSearch ( left, top, right, bottom, color [, shade-variation] [, step]] ) bit in the help file has completeley baffled me!Could someone make a basic script like this for me to edit? or even help me make one? Add me to MSN if you want to teach me how to AutoIT E-Mail me if you want also! PLEASE HELP MEEE !Thanks!
Toady Posted April 17, 2007 Posted April 17, 2007 PixeltriggerView this source code. Modify it and boom you got something. www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding
tidyboy5050 Posted April 17, 2007 Author Posted April 17, 2007 PixeltriggerView this source code. Modify it and boom you got something.Wow Toady! If this works your a godsend:)Does it have to be the center of the screen?
Paulie Posted April 18, 2007 Posted April 18, 2007 (edited) You are lucky you got help.For one, you double post:http://www.autoitscript.com/forum/index.php?showtopic=44393For two show no proof you made ANY attempt to even try do this yourself.You basically just ask someone else to do it for you.You're lucky Toady is nicer than me, because I would have just directed you here:http://www.rentacoder.com Edited April 18, 2007 by Paulie
Toady Posted April 18, 2007 Posted April 18, 2007 Yes you can change the rectangle in the code, just change the box that it searches from the center screen to what ever you want. www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding
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