Mmm. thinking about this...
If you can use PerfectScript, it can use WP, I think so there are PerfectScript help on some one place, some samples and object reference.
Have you look at Corel´s website?
**
Just a crazy idea
Run an instance of WP and send keystrokes or text to it (I have seen this before on VB and maybe on VFP but don't remember)
**
Mauricio
Be fast like the Fox
Be free like the Penguin
Se Rápido como el Zorro
Se libre como el Pingüino