Im trying to make a bot to click an image at a certain spot currently right now it will find the image and click on it but not in a certain location. Here is the code im using
Any suggestions?
While 1 Global $iX, $iY $search = _WaitForImageSearch("C:\Users\joey\Desktop\autoit stuff\test\12.png", 60, 1, $iX, $iY, 0) If $search = 1 Then Sleep(1000) MouseClick("left", $iX, $iY, 1, 1) Sleep(500) ExitLoop EndIf WEndthe image (12.png) is 335 x 83 px and i need it to click at 302 x 69
Any suggestions?