Looking for some help, here's what I currently have.
Code: Select all
F1::
ImageSearch, FoundX, FoundY, 436, 192, 1520, 996, C:\Users\nwmv\Documents\image.png
If ErrorLevel = 0
MouseMove, %FoundX%, %FoundY%, 2
If ErrorLevel
Return
Image is 100x100 pixel, and the area I want to click between is 25, 25(x1,y1) and 75, 75(x2,y2)
Green is the whole image, red is the area I want to randomly click in. http://i.imgur.com/FtCQOG3.png