Modify ↓
Opened 13 years ago
Closed 13 years ago
#2330 closed Bug (No Bug)
Error occurs when using some object properties with AutoIt
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.8.1 | Severity: | None |
| Keywords: | object properties | Cc: |
Description
When converting a little working VBScript to AutoIt i recognized that it doesn´t work in AutoIt:
VBScript (working fine):
Dim sTSHomePath
Set oUser = GetObject("LDAP://cn=MYUser,ou=USERS,dc=test,dc=com")
sTSHomePath = LCase(oUser.TerminalServicesHomeDirectory)
msgbox sTSHomePath
Converted to Autoit it throws the error "The requested action with this object has failed":
Dim $sTSHomePath
$oUser = ObjGet("LDAP://cn=MYUser,ou=USERS,dc=test,dc=com")
$sTSHomePath = StringLower($oUser.TerminalServicesHomeDirectory)
msgbox(4096,"Output", $sTSHomePath)
Attachments (0)
Note:
See TracTickets
for help on using tickets.

No bug
Use the forum for support requests.