Re: Reading a pdf text file
Re: Reading a pdf text file
- Subject: Re: Reading a pdf text file
- From: Roger Howard <email@hidden>
- Date: Fri, 7 Jan 2005 15:13:29 -0800
On Jan 7, 2005, at 2:44 PM, Gil Dawson wrote:
Hello--
Does anyone happen to know how to read with AppleScript the text from
a pdf file that contains mostly text?
Adobe provides a translation service...
http://www.adobe.com/products/acrobat/access_onlinetools.html
...that does exactly what I need, only it's cumbersome to script
sending the pdf file to them and waiting for it to come back.
I was hoping maybe someone had figured out how to read the text out of
a pdf file directly.
You can do exactly what I want manually in the Adobe reader with
selectall, copy, and paste. This procedure works only one page at a
time, but it would be OK for my purposes in a script. However, the
Reader doesn't seem to be scriptable. Also Preview isn't. (Can this
be true?)
I looked at Acropbat V7.0 for $300 on the Adobe website, which would
be OK, but I didn't see any promises about it being scriptable nor its
being able to do what I want. (What is an enterprise solution,
anyway?)
I looked at GhostScript, but it seems to be made for converting into,
not out of, pdf.
Has anyone found a way to do read a pdf in either Panther or 9.2.2 or
both?
Check out the xpdf package - open source and free, and contains the
pdftotext tool.... here's a Mac OSX specific package, though you may
(or may not) prefer to build it from source yourself (in which case
Google for "xpdf source"):
http://users.phg-online.de/tk/MOSXS/
-R
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden