Reading slug line in pdf

Hi,

Can anyone help me to write the applescript code for the following task.

The task is:

We have a bunch of pdf files, where in each pdf, there is a slug line at bottom of each page of a single pdf. The slug line says

  1. Page Number,
  2. File Name,
  3. Date
  4. Time

The script should read this slug line and store this information in an array.

Thanks,
Gopal

Can I get any help?

Here are some more informations.

On the bottom of each page (below the trim marks), there are the slug instructions like:
M01_FRAN6727_01_SE_C01.indd 26 10:15 PM 2/8/08

This line represents File name, page number, created time, created date. Also the pdf contains images, text etc.
I want the script to go page by page in the selected pdf and read this slug information found at bottom of the each page and stored in a text file.

EXAMPLE:
If the pdf contain 3 pages, the text file should contain 5 lines like:
M01_FRAN6727_01_SE_C01.indd 26 10:15 PM 2/8/08
M01_FRAN6727_01_SE_C01.indd 27 10:15 PM 2/8/08
M01_FRAN6727_01_SE_C01.indd 28 10:15 PM 2/8/08

Can anybody suggest how to script this.

Thanks,
Gopal

silly question here but could you get the data as you make the PDFs rather than after ? also what program are you trying to use to extract the data ? do you have the beginnings of a possible script ?

mm