#1 2020-09-18 15:35

Luro
Member
From: Germany
Registered: 2019-09-19
Posts: 10

Read pdf Content

Is there a way to search Pdf content with pacalscript?
Does the Function FileReadContent support this?

Offline

#2 2020-09-20 12:41

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Read pdf Content

You can extract PDF file content in PascalScript by calling 3rd party tools, such as Xpdf command line tools. See the Xpdf script to get started.

Once you extract the content, you can easily search it with functions like Pos, TextPos, MatchesRegEx, etc. See all available PascalScript functions.

Offline

Board footer

Powered by FluxBB