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

imagesearch help

$
0
0

im trying to use this 

 

this imagesearcharea functions a but confused need help

 

#include <ImageSearch.au3>
 
HotKeySet("p", "checkForImage")
 
global $y = 0, $x = 0 ; could i change the y n x to 618,351 or that is compelely different?
 
Func checkForImage()
 
local $search = _ImageSearchArea('opapp.bmp', 1, 800, 40, 900, 80, $x, $y, 0) ; confused about the values on the right.
 
If $search = 1 Then
MouseMove($x, $y, 10)
EndIf
EndFunc
 
while 1
sleep(200)
WEnd

 

my question is image im clicking on is located at 618,351 its square image

i search the forum did find any simple or good explaination

 

 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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