#include <ImageSearch2015.au3>
#AutoIt3Wrapper_UseX64=y
HotKeySet("s", "start")
HotKeySet("e", "stop")
While 1
Sleep(100)
WEnd
func stop()
Exit
EndFunc
Func start()
Global $x, $y
Do
$iResult = _ImageSearch("C:\Users\luca_\Desktop\hc\Unbenannt.PNG", 1, $x, $y, 0)
If $iResult <> 1 Then Sleep(1000)
Until $iResult = 1
If $iResult Then
MouseMov