xgend Posted November 18, 2009 Share Posted November 18, 2009 Hi guys, first post here. Sorry for being a newbie but I have tried everything. I just downloaded the ImageSearch library and place it in the proper directory. Now, there was this demo which I tried but unfortunately I got this error: Line -1: Error: Subscript used with non-Array variable I thought it must have been some coding error. I stripped it down to the bare essentials - leaving me with this very simple code: #include <ImageSearch.au3> $x1=0 $y1=0 $result = _ImageSearch("xyz.gif",1,$x1,$y1,0) if $result = 1 then msgbox(0,"Result","Found!") else msgbox(0,"Result","Not Found!") endif And the error still persists. I tried searching for the answer but sadly, I can't seem to find them. Am I missing anything? Thanks a lot. Link to comment Share on other sites More sharing options...
Sundance Posted November 18, 2009 Share Posted November 18, 2009 Hi and welcome to the forum Do you have the ImageSearchDLL.dll in the same directory as the AU3? greetz Sundance Link to comment Share on other sites More sharing options...
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