suNtrick Posted February 15, 2016 Posted February 15, 2016 Hello First i would like to say what i made i download ImageSearch x64 from there Then i make New folder on Desktop and i put inside this 2 files in this folder + bmp file + my script My script looks like that: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseX64=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include "ImageSearch.au3" HotKeySet("p", "checkForImage") global $y = 0, $x = 0 Func checkForImage() traytip('Imagesearch','Szukam...',5) Local $search = _ImageSearch('aaaaa.bmp', 0, $x, $y, 0) if not @error then MouseMove($x, $y, 10) traytip('Imagesearch','Znaleziono. $x='&$x&' y='&$y,5) Else traytip('Imagesearch','nie znaleziono...',5) EndIf EndFunc while 1 sleep(200) WEnd when i try to click P to search for image i have this error ....http://scr.hu/2src/9bn0p what can be wrong ... i cant find solution for that ...
AutoBert Posted February 15, 2016 Posted February 15, 2016 The error is in the Imagesearch,au3, seems the errorhandling isn't good enough. First copy the Imagesearch.dll in same folder as your script, if always error tell it the autor of Imagesearch.au3.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now