Sign in to follow this  
Followers 0
Dyz

ImageSearch Help

2 posts in this topic

Hello,

I am getting an error when trying to use ImageSearch. Everything seems correct and I have not modified the imagesearch files in anyway.

Error Below:___________________________________________

Line 44 (File "C:UsersTonyDesktopProgram1ImageSearch.au3"):

if $result[0]="0" then

if $result^ERROR

Error: Subscript used on non-accessible variable.

___________________________________________

Line 44 is

   if $result[0]="0" then Return 0

(Incase your not used to the ImageSearch script)

It is giving me that error when this line of code executes

 
 $Search = _ImageSearch("picture1.BMP", 1, $x, $y, 0)

 

 

Share this post


Link to post
Share on other sites



i think u need to register the dll files

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