1. You'll need to write the script that accesses the data. This should be done up front. The data loaded into a context that is availible thoughout the entire Action(Batch Process). For example, the script could create a PDF. On open document is a stable context, it can be used to mark the beginning of the process, load and store the sequence data, and could be used to also record a log of all the files processes.
Take a look at this article:
2. The next Action command should remove the existing header.
3. The final action is the script that adds the new header as a watermark and then saves the file to a new name.
Look at these articles:
Take a look at how some of the more sophisticated Actions operate at the Acrobat Users Actions Exchange:
Like this one:http://acrobatusers.com/content/extract-commented-pages
The source for PDF Scripting Info
I recently found someone who can help me out with this (I can't program). He is facing the problem of accessing the database (or excel-file or txt file).
Problem now is that the links (except one) you gave are dead. Is there a way we still can access this information?
Can you help me out with this?
Best Regards Jakob
and here's the one about layers: http://acrobatusers.com/tutorials/create_use_layers