Jump to content

ImageSearch Help


Dyz
 Share

Recommended Posts

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)

 

 

Link to comment
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
 Share

  • Recently Browsing   0 members

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