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: agi@… 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)

Change History (1)

comment:1 by Jos, 13 years ago

Resolution: No Bug
Status: newclosed

No bug
Use the forum for support requests.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.