Modify

Opened 12 years ago

Closed 12 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 Changed 12 years ago by Jos

  • Resolution set to No Bug
  • Status changed from new to closed

No bug
Use the forum for support requests.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.