Parsing a PDF file

-hh hh at hh.on-rev.com
Fri Jul 8 12:26:55 EDT 2016


[Description for MacOS, works on Win/Linux similar.]

The best results for extracting tables from PDF I had with the free "RAW"
method:

= Open the file with Preview.
= Select All (menu Edit). Copy.
= Go to a LC stack with a field "INCOMING"
= Use by a button or the message box the line
    put clipboardData["Text"] into fld "INCOMING"

If you use simply "paste" you get (probably unwanted) styles with your text.
(If you have a lot of files: Preview is scriptable.)



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Parsing-a-PDF-file-tp4706466p4706481.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list