ive been trying for a couple day to fix imagesearch.. cant get it work ive put the imagesearch dll on c//windows i have a image, my script and the imagesearch.au3 file on my deskup when i start my script i get no error but nothing happen.. whats going on? my english isnt verry good doing best as i can ! help me let me know your trick
#include <ImageSearch.au3>
Hotkeyset("S", "Start")
$x=0
$y=0
Func Start()
$Search = _ImageSearch('Search.Bmp', 0, $X, $Y, 0)
if $search = 1 Then
mousemove($X, $Y, 10)
EndIf
EndFunc
while 1
Sleep(100)
WEnd
this is my simple script.. what im doing wrong ?