Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <imagesearch.au3>
- HotKeySet("{ENTER}","_func1")
- $x = ""
- $y = ""
- While 1
- Sleep(10)
- WEnd
- Func _func1()
- Do
- $search = _imagesearch(@scriptdir & "\imagesearch.bmp",1,$x,$y,100)
- Until $search = 1
- MouseClick("left",$x,$y)
- EndFunc
Add Comment
Please, Sign In to add comment