First of all, yes I have searched but I haven't found what I'm looking for.
Also, I'm somewhat of a noob, so if possible explain to me in the easiest way possible
I need my script to recognize an image in a game. Problem is that the image is moving on the screen and it is animated, changing the color somewhat in a loop of about 1-2 seconds.
I need my script to locate this image and click it, but I have no idea how to do it. First I tried using PixelSearch, but it didn't work out too well. Could be because I'm a noob of course.
I've never used PixelSearch before, but if it works the way I think it does I have another problem. There are two images on the screen at one time with the same colors but with small variations, and I need it to click only one of them.
What I was thinking was that I could screencap and crop the image and then tell AutoIt to compare what's on screen to the screencapped image. Don't know if this is possible though. Also, how the heck do I get AutoIt to click it once it's found?
Any help or other suggestions would be appreciated.