Israelks Posted July 22, 2018 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
ternal Posted July 22, 2018 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?
water Posted July 22, 2018 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
water Posted July 22, 2018 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Israelks Posted July 23, 2018 Author 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
abberration Posted July 23, 2018 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
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