Modify

#134 closed Feature Request (No Bug)

Add support for COM events to take ByRef parameters

Reported by: Valik Owned by: Valik
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

We need to support objects being passed to COM events by reference. The attached script contains an example using Word. The comments at the top explain how to use the script and what to expect.

Attachments (1)

WordByRefTest.au3 (727 bytes ) - added by Valik on Feb 22, 2008 at 3:55:09 PM.

Download all attachments as: .zip

Change History (5)

comment:1 by J-Paul Mesnage, on May 12, 2009 at 2:05:36 PM

Owner: set to Valik
Severity: None
Status: newassigned

comment:2 by ProgAndy, on Feb 21, 2010 at 3:39:27 PM

any news on this? Maybe extend the syntax like this:
$o_object.Run($s_MacroName, ObjByRef $v_Arg1)

comment:3 by Valik, on Feb 21, 2010 at 7:10:38 PM

It's not a syntax issue, it's a technical issue.

comment:4 by trancexx, on Nov 6, 2011 at 11:44:57 AM

Resolution: No Bug
Status: assignedclosed

We do support this for some time now.

Attached code have logical error. Run method of that object doesn't take parameters byref (in sense that it alters the content).

Version 0, edited on Nov 6, 2011 at 11:44:57 AM by trancexx (next)

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


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