Automate an ActiveX Process

2009-06-15 Thread Phillip Richcreek
I want to automate -- eliminate user interaction -- a process that
states in its doc...

Miraplacid Text Driver registers itself as an ActiveX object and
could be used from any scripting and OLE-compliant software.
Using this ability, you can control the printing process directly from
your script or application.

To create component, use following constructions

JScript: var obj = WScript.CreateObject(Miraplacid.TextDriver);
VBScript: set obj = WScript.CreateObject(Miraplacid.TextDriver)
Visual Basic: Set obj = CreateObject(Miraplacid.TextDriver)

I'd like to write the automation script in perl. Can someone give me
some guidance on how to do this? I have a request in to the product's
support group but so far they have not responded.

TIA,

Phil
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Automate an ActiveX Process

2009-06-15 Thread Jan Dubois
On Mon, 15 Jun 2009, Phillip Richcreek wrote:
 
 I want to automate -- eliminate user interaction -- a process that
 states in its doc...
 
 Miraplacid Text Driver registers itself as an ActiveX object and
 could be used from any scripting and OLE-compliant software.
 Using this ability, you can control the printing process directly from
 your script or application.
 
 To create component, use following constructions
 
 JScript: var obj = WScript.CreateObject(Miraplacid.TextDriver);
 VBScript: set obj = WScript.CreateObject(Miraplacid.TextDriver)
 Visual Basic: Set obj = CreateObject(Miraplacid.TextDriver)

use Win32::OLE;
my $obj = Win32::OLE-new(Miraplacid.TextDriver);

 I'd like to write the automation script in perl. Can someone give me
 some guidance on how to do this? I have a request in to the product's
 support group but so far they have not responded.

Read the documentation for Win32::OLE and the object model of your
application for further information.

Cheers,
-Jan

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs