avidovi Posted January 27, 2016 Posted January 27, 2016 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
Danyfirex Posted January 27, 2016 Posted January 27, 2016 I think is not returning an array. check @error after call funtion. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
avidovi Posted January 27, 2016 Author Posted January 27, 2016 it needs to return the x and y coordinates (i think)
Danyfirex Posted January 27, 2016 Posted January 27, 2016 Of couse. but you must check @error after dllcall to check correct error. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
avidovi Posted January 27, 2016 Author Posted January 27, 2016 can u advice me with the syntax? and where to put it un the imagesearch function or in my script?
Danyfirex Posted January 27, 2016 Posted January 27, 2016 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 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
AutoBert Posted January 27, 2016 Posted January 27, 2016 (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 January 27, 2016 by AutoBert
avidovi Posted January 27, 2016 Author Posted January 27, 2016 (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 January 27, 2016 by avidovi
InunoTaishou Posted January 27, 2016 Posted January 27, 2016 This question has been answered before, if you google the exact error message + imagesearch you can find the answer. Hint: Check to make sure the result is an array.
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