Modify

Opened 12 years ago

Last modified 12 years ago

#2608 new Feature Request

COM Objects and Classes

Reported by: James (autoit.de) Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

Would it be possible to allow AutoIt/ObjCreate to work with object classes (and similar stuff)?
The following script will hopefully explain what I mean:

Powershell:

$o = new-object -comobject "System.Object"
$o.GetType().GetMembers() | foreach-object {write-host $_.Name}
ToString
Equals
Equals
ReferenceEquals
GetHashCode
GetType
.ctor

AutoIt:

$o = ObjCreate("System.Object")
For $_ In $o.GetType().GetMembers()
    ConsoleWrite($_.Name & @CRLF)
Next
$o = 0
"C:\AutoIt3\Scripts\test.au3" (2) : ==> Variable must be of type "Object".:
For $_ In $o.GetType().GetMembers()
For $_ In $o.GetType().GetMembers()^ ERROR

Attachments (0)

Change History (1)

comment:1 by anonymous, 12 years ago

Could someone please comment on this?

Modify Ticket

Action
as new 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.