Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Image search help

$
0
0

Here is my code so far

#include <ImageSearch.au3> HotKeySet("`", "Start") $y = 0 $x = 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

 I want this to actually keep looking for the image in a loop, I have tried a few ways so i deleted my attempts at the loop and let you guys take a look at it :)

 

On a side note, I want this to search my 2nd monitor(left of my main monitor) would i put my numbers negative because as of now it only works on my main monitor.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>