Extracting text from PDF

Kay C Lan lan.kc.macmail at gmail.com
Sun Jan 21 09:55:43 EST 2007


On 1/12/07, Jan Schenkel <janschenkel at yahoo.com> wrote:
>
>
> If this is Mac-only, you might be able to AppleScript
> another application to get this information -
> Preiew.app doesn't seem to be scriptable, but perhaps
> another application could do the trick.


Richard, if you are still looking for a solution, and it can be Mac only,
have a look at TextEdit. It will open pdf files and is AppleScriptable. It
wont work for all pdfs but if you are working with a 'standard' pdf that
TextEdit will handle then it is easy to get the text into Rev. The company I
work for produces reports in pdf and they are always in the same format that
TextEdit will open and extract 100% of the text, no errors.

Problems can arise if there are columns, tables, or text under images that
is incorrectly places in the body of the text in the TextEdit version.

HTH



More information about the use-livecode mailing list