Jump to content

Gwaren

Members
  • Posts

    3
  • Joined

  • Last visited

Gwaren's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. Alright thanks for helping me out much appreciated yeah im going to start to read the help files and get used to this program more and more just that i had worked on this then i put it all down and wanted help quick and there you where, so thanks alot for the help And ill look at the imagesearch you have posted in here
  2. Alright so i have finally got his working but i have a question how do i make this code loop/repeat and keep searching for the picture? am still working on the code but i can't seem to understand how i make the script loop/repeat plz help #include <ImageSearch.au3> HotKeySet("s", "checkForImage") HotKeySet("c", "close") global $y = 0, $x = 0 Func checkForImage() Local $search = _ImageSearch('fish.bmp', 0, $x, $y, 0) If $search = 1 Then MouseMove($x, $y, 10) EndIf EndFunc Func close() Exit EndFunc while 1 sleep(200) WEnd
×
×
  • Create New...