Dyz Posted April 16, 2014 Share Posted April 16, 2014 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 More sharing options...
xFloOD Posted April 16, 2014 Share Posted April 16, 2014 i think u need to register the dll files 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