Folks,
I am a total novice Acrbat Javascript programmer. I'm not a Javascript programmer period. I'm another type of programmer by trade with a big deadline.
My quest is to create a footer stamp on one or more pages (not sure yet if it will be just the first page or every page) of 500+ .pdf files where the stamp value is dynamically determined by the characters in the filename of each file. So for instances, I have files
A_hello.pdf
Q_world.pdf
MUDD_puppy.pdf
A_goodbye.pdf
...
And my switch statement/etc. would stamp each of these with the corresponding footer values
Mother Night
War and Peas
Hot Tuna
Mother Night
...
As you can see, my mapping is driven by the first word in the filename. The switch statement might have a lot of elements but I don't care about that. I'd just like to get an example/pointers/help on how to get started. I've seen a few scripts around on the web but none seem to get me enough of the bits I need to pull this off.
So if anyone would be willing give me functioning script that I gets me part of the way there that I can hack, I would be most grateful.
Thanks in advance for any help,
Mike
ps - I'm running Acrobat X Pro and Acrobat 9 Pro on Windows
This is an excellent idea for an automation tool. While not exactly what you are asking for, you may want to download the "File Stamper" action from the Actions Exchange here at AUC (a link to the exchange is on the home page in the right side panel). The action doesn't provide an automated way to determine between your original list of PDF file names, but it does allow you to place custom text on a list of selected files- so it will get you part way. There are detailed instructions provided with the download that should also be helpful.
Hope this helps,
Dimitri
www.pdfscripting.com
www.windjack.com
Dimitri Munkirs
WindJack Solutions
pdfscripting.com