Jump to content

Recommended Posts

Posted

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

 

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...