• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reading a pdf text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading a pdf text file


  • Subject: Re: Reading a pdf text file
  • From: Rob Stott <email@hidden>
  • Date: Tue, 25 Jan 2005 12:26:16 +0000

I don't have any German or encrypted files to test this on, so I had to remove those options to get it to work; BUT pdftotext does not seem to like your '-enc utf-8' construction.

...an interesting development - I tried altering the shell script to kick out an html document like this;

set theResult to do shell script ("/usr/local/pdftotext -eol mac -raw -htmlmeta " & quoted form of pdfPosixPath & " " & quoted form of outputPosixPath)

(rest of script the same... see earlier email)

...when I opened the HTML in Safari, all the 'odd' characters worked fine. So I have a work around - its just a bit annoying that it can't all be done in one line of shell script as you'd expect... or maybe it can... heres hoping!

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

References: 
 >Reading a pdf text file (From: Gil Dawson <email@hidden>)
 >Re: Reading a pdf text file (From: Roger Howard <email@hidden>)
 >Re: Reading a pdf text file (From: Richard Smykla <email@hidden>)
 >Re: Reading a pdf text file (From: Rob Stott <email@hidden>)
 >Re: Reading a pdf text file (From: Rob Stott <email@hidden>)

  • Prev by Date: Re: Reading a pdf text file
  • Next by Date: definition list recommendations?
  • Previous by thread: Re: Reading a pdf text file
  • Next by thread: Re: Reading a pdf text file
  • Index(es):
    • Date
    • Thread