Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PDF to TXT via OLE Automation

Status
Not open for further replies.

bobo123

Programmer
Oct 4, 2002
30
Please,
anybody knows how to convert PDF file to plain TXT (CHR variable) from Visual FoxPro 6.0 via OLE Automation using SDK ?
Any samples ??
Thanks a lot
N.
 
Like you could do by hand with
CTRL+A
CTRL+C

and then in Notepad
CTRL+V ???
 
To automate Jack's suggestion in Fox:

KEYBOARD '{CTRL+A}'
KEYBOARD '{CTRL+C}'
RUN /N NOTEPAD
KEYBOARD '{CTRL+V}'

I just tried it, and it works... Best Regards,
Scott

Please let me know if this has helped [hammer]
 
You may find (I don't have the setup to test) that after:
KEYBOARD '{CTRL+A}'
KEYBOARD '{CTRL+C}'

you may now have in VFP in the _CLIPTEXT varible, all the text from the PDF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top