Jump to content
Sign in to follow this  

ImageSearch Help

Recommended Posts



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

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.