Jump to content

Error running ImageSearch


JGoo
 Share

Recommended Posts

Hello. I'm new to AutoIt - two weeks ago I'd never heard of it. Most of my problems have been solvable, but I'm having real issues with the ImageSearch library. (I don't remember where I got it, but I'm attaching it and the DLL in case that helps.)

Short version: calling the _ImageSearch method crashes AutoIt when the script is run in x86 mode. When it's run in x64 mode, I get an error on line 44 of ImageSearch.au3 telling me "Error: subscript used on non-accessible variable."

My instinct is that I'm not using the best/latest version of ImageSearch. I'd appreciate a link to the correct version and/or help correcting the version I have. Of course, if it turns out the error is in my code somehow, I'd appreciate help fixing that also.

I'm sorry if this is a duplicate question - I've found several threads about ImageSearch, but none that address this problem specifically.

Thank you for your help.

 

ImageSearchDLL.dll

ImageSearch.au3

Link to comment
Share on other sites

  • Developers

Welcome,

4 minutes ago, JGoo said:

I'm sorry if this is a duplicate question

No, actually this is a question that never has come up as you probably already found out when you did your Due diligence before posting and searched the forum for this.    ..... right? :)

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

20 hours ago, Jos said:

Welcome,

No, actually this is a question that never has come up as you probably already found out when you did your Due diligence before posting and searched the forum for this.    ..... right? :)

Jos

I did search the forum, and I got the one that didn't work. I also found dead links and links that took me to sketchy-looking file hosting sites. It would be nice if Google took me to the forum page with the best and latest version of the file ... but it didn't, so I asked for help.

 

19 hours ago, aa2zz6 said:

Refer to this link - It has working image search zip file >> 

 

Nailed it. Thanks for the help!

Link to comment
Share on other sites

5 hours ago, JGoo said:

I did search the forum, and I got the one that didn't work. I also found dead links and links that took me to sketchy-looking file hosting sites. It would be nice if Google took me to the forum page with the best and latest version of the file ... but it didn't, so I asked for help.

 

Nailed it. Thanks for the help!

Np. Best of luck!

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...