Jump to content

Request for help on Autoit script on PDF-XChange Editor


ghatturk
 Share

Recommended Posts

I'm not familiar with that program. However if you can get access to the text then my solution has been to write a regular expression to extract the data to a 1-D array. Of course, this requires that the data is in a standard format, which is not always the case. Once you have the 1-D array, you can convert it into a 2-D array which is nearly a table :)

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts
UI-SimpleWrappers UDF - Use UI Automation more Simply-er
KeePass UDF - Automate KeePass, a password manager
InputBoxes - Simple Input boxes for various variable types

Link to comment
Share on other sites

[AB_012]{Temp} This is a sample text for standard form.

Table

Comes here with info

Data1

This is first explanation for Data1

Info1

This is the explanation for Info1

(CD_345, CD_678)

------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Above is the explanation of the most standard form of data repeated with different numbers in pdf.

As you can see, there are 2 special characters ⌈ and ⌋, not sure how to delimit them.

Also, when I extract to excel, sometimes the critical data comes without spaces as "Thisisasampletextforstandardform."

PS: I was trying to play with excel if not possible with PDF.

Thank you for your first input seadoggie01

Edited by ghatturk
Link to comment
Share on other sites

55 minutes ago, ghatturk said:

PS: I was trying to play with excel if not possible with PDF.

For me this somehow implies, that you can specify the file format in which the data are available by yourself. Could you please describe in more detail, where e.g. the data you want to extract originates from.

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

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
 Share

  • Recently Browsing   0 members

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