Jump to content

Recommended Posts

Posted

Hello friends,

i need your help and advice regarding the image search function.

I need to click an image on a web site. after using the image search function i am getting the following error, on the image search function

if $result[0]="0" then return 0
if $result^ ERROR

I am using the x64 configuration with the following files attached

thanks for helping..

ImageSearch 64 bit.rar

Posted

I think is not returning an array. check @error after call funtion.

 

Saludos

Posted

Of couse. but you must check @error after dllcall to check correct error.

 

Saludos

Posted

Simple check with a msg

msgbox(0,"",@error) ;look in help file the error
if $result[0]="0" then return 0
if $result^ ERROR

Saludos

Posted (edited)

I think the Imagesearch hasn't found what you are searching and the autor of the UDF has no or bad Errorhandling. So you have to test with IsArray is realy an array.

Contact the autor of the UDF.

Edited by AutoBert
Posted (edited)

still getting the error with no msgbox

"C:\Program Files (x86)\AutoIt3\Include\ImageSearch.au3" (44) : ==> Subscript used on non-accessible variable.:
if $result[0]="0" then return 0
if $result^ ERROR

thanks for helping!

Edited by avidovi

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
×
×
  • Create New...