Courage has asked for the wisdom of the Perl Monks concerning the following question:
I need to write a Perl application that manipulates MS Word to do something.
Perl starts MS Word application, performs some manipulations and allows for a user to edit in MS Word what he wants.
In order to do that, my perl program performs necesarry initialisations and goes to message loop by Win32::OLE->MessageLoop. After that my program could get and process many types of events, such as Quit, DocumentChange and so on.
But I can not find a way to send any kind of Event to my perl script programmatically, (I mean events come to my perl program as they occur, such as DocumentChange, but I can not send any other kind of event myself).
Does anyone knows a way how to send to my program any type of signal in my case?
Thanks in advance,
Courage, the Cowardly Dog
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl+MSWord (via Win32::OLE) events handling
by diotalevi (Canon) on Sep 26, 2002 at 12:39 UTC | |
|
Re: Perl+MSWord (via Win32::OLE) events handling
by MZSanford (Curate) on Sep 26, 2002 at 13:31 UTC | |
by charnos (Friar) on Sep 26, 2002 at 14:04 UTC | |
by Courage (Parson) on Sep 26, 2002 at 14:48 UTC | |
|
Re: Perl+MSWord (via Win32::OLE) events handling
by rob_au (Abbot) on Sep 26, 2002 at 13:55 UTC | |
|
Re: Perl+MSWord (via Win32::OLE) events handling
by t0mas (Priest) on Sep 26, 2002 at 13:50 UTC | |
by Courage (Parson) on Sep 26, 2002 at 14:55 UTC |