Israelks Posted July 22, 2018 Share Posted July 22, 2018 Hello, I've created a programm and it works well in my computer and some others, but in one specific computer I'm getting this error, someone can help me? thanks Link to comment Share on other sites More sharing options...
ternal Posted July 22, 2018 Share Posted July 22, 2018 Could it be that the variables are declared in a way that there might be a problem? Like global variables declared behind a conditional statement.. did you place error checking where external information is brought in? maybe on that computer there is an error reading in information.. I am relatively new to autoit but those are my experiences with subscript used on non-accessible variable, I hope it helps!! If the declaration is ok and retrieving info is error checked, could you elaborate a bit further on the issue/script? Link to comment Share on other sites More sharing options...
water Posted July 22, 2018 Share Posted July 22, 2018 The variant you try to access is a variable not an array. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
water Posted July 22, 2018 Share Posted July 22, 2018 This often happens when a function returns an array on success but a string/undefined result in case of an error. You need to check the return code or macro @error for an error and act accordingly. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Israelks Posted July 23, 2018 Author Share Posted July 23, 2018 (edited) I found the error, i was trying to access an array that does not exists, thanks everybody Edited July 23, 2018 by Israelks Link to comment Share on other sites More sharing options...
abberration Posted July 23, 2018 Share Posted July 23, 2018 The #Include files are scripts added to your script. Something in your code is causing an error further into the code of one of the other scripts. You know, if you provided some code or a simplified version of your script, we could help a lot more. Easy MP3 | Software Installer | Password Manager 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