Sunday, January 21, 2018

#1 2011-12-29 11:42:33 am

svd
Member
Registered: 2011-12-28
Posts: 1

Extract text from pdf in script

Hi!
I can  extract the plain text of a pdf document using Automator's Extract PDF Text.

But, how can I call the Extract PDF Text application in a script?
F.e. i have a folder Users/mac/Library/Preferences/myapp/Local/Data
which content is file1.pdf, file2.pdf, file3.pdf
I want to script run with a result file1.txt, file2.txt, file3.txt in same folder without any dialogs and promts.
Thanks for your any input.

Dereck.

Offline

 

#2 2012-01-14 03:21:59 pm

LcTrKiD
Member
Registered: 2012-01-14
Posts: 2

Re: Extract text from pdf in script

svd wrote:

Hi!
I can  extract the plain text of a pdf document using Automator's Extract PDF Text.

But, how can I call the Extract PDF Text application in a script?
F.e. i have a folder Users/mac/Library/Preferences/myapp/Local/Data
which content is file1.pdf, file2.pdf, file3.pdf
I want to script run with a result file1.txt, file2.txt, file3.txt in same folder without any dialogs and promts.
Thanks for your any input.

Dereck.


I have the same question. Right know I have a service that extract the text of a pdf using automator action but how to do that doing AS?

Joaquín.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)