Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Win32::OLE parsing Word while in use

by Anonymous Monk
on Dec 01, 2018 at 16:59 UTC ( #1226601=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I read all the documentation about Win32::OLE, but I could not find any mention of this feature. I am able to open and parse a Word document with Win32::OLE, however I would do this in a dynamic way, i.e. I want to get the user input WHILE the user is inserting it (be it by keystrokes or voice recognition or whatever). I want to parse this 'live' content in Perl to produce statistics on the run. The only idea I've got so far is to force saving the file any x seconds with Win32::OLE and parse it. However, continually saving the file (let's say every 1 second) may stop Word working properly. Anyone a better idea (or anyone knows if Win32::OLE can accomplish it?)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1226601]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2019-07-19 20:30 GMT
Find Nodes?
    Voting Booth?

    No recent polls found