Jump to content

Achieving searchable pdf reading


Recommended Posts

I'm here asking for some help because I'm really short of time. I dont even know if "short of time" exist in english.

I need to write a script that reads the text of a searchable pdf... how can i do that?

I just need the script to find a certain line and read some information from it, so I can rename o-to-matic-ally a bunch of pdf files.

Thanks in advance :D

Link to comment
Share on other sites

I've had the same need. After spending "some" time to find a current complete documentation about PDF format free of charge, I digged into it and realized it would need more time to make it work than I could spare.

So I found an external tool which does the text extraction fine and bought it (it's cheap, circa 15..20$). I can give you a pointer in a couple of hours.

There are freely available text extractors but I needed the position in page of each text fragment.

If you don't need that much detail Acrobat Reader offers the Write To >> Text option but I can't ascertain it will work for your PDFs.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...