kor Posted February 9, 2015 Author Posted February 9, 2015 BTW: You should change line $aMembers = _AD_RecursiveGetGroupMembers($sGroup, 10, True, False) to $aMembers = _AD_RecursiveGetGroupMembers($sGroup, 10, False, False) because _AD_GetObjectProperties will not return a valid result if you pass the groupname plus the parent group name (like: groupname|name of parent group) When making this change script breaks in your AD.au3 "C:\Program Files (x86)\AutoIt3\Include\AD.au3" (1173) : ==> Subscript used on non-accessible variable.: $aMembers[0] = UBound($aMembers) - 1 $aMembers^ ERROR
water Posted February 9, 2015 Posted February 9, 2015 (edited) Which version of AutoIt do you run? Which version of the AD UDF do you run? Line 1173 is not the line you posted in any of the latest versions of the UDF. Edited February 9, 2015 by water 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 February 10, 2015 Posted February 10, 2015 Did you modify the AD UDF? Is line 1173 $aMembers[0] = UBound($aMembers) - 1 in your version of the UDF? 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
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