Guest User

Untitled

a guest
May 20th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.25 KB | None | 0 0
  1. #include <imagesearch.au3>
  2.  
  3. HotKeySet("{ENTER}","_func1")
  4.  
  5. $x = ""
  6. $y = ""
  7.  
  8. While 1
  9.     Sleep(10)
  10. WEnd
  11.  
  12. Func _func1()
  13. Do
  14. $search = _imagesearch(@scriptdir & "\imagesearch.bmp",1,$x,$y,100)
  15. Until $search = 1
  16.  
  17.  
  18.  
  19.  
  20. MouseClick("left",$x,$y)
  21. EndFunc
Add Comment
Please, Sign In to add comment