Sign in to follow this  
Followers 0
pdark1987

imagesearch help

1 post in this topic

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

 

 

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0