Copy link to clipboard
Copied
Hi I would like to create an action wizard which inserts the pdf document name in the header of the scanned pdf document.
I have noticed that when you enter the page number command it uses << >> signs to read the text as a command.
What is the command that needs to be written in the header or footer to insert the pdf document title / name i.e. the highlighted in this example, title.pdf
Copy link to clipboard
Copied
There isn't one. You will need to do it using a script.
Copy link to clipboard
Copied
By the way, I've developed an advanced version of the Add Header/Footer command that allows you to do that (among many other things), but it can't be used as a part of an Action (although that's probably something I could add for you, if you're interested).
You can find it here: Custom-made Adobe Scripts: Acrobat/Reader -- Advanced Add Header/Footer Text
Copy link to clipboard
Copied
Adobe specifies in their online help that the title can be part of the headers.
Below is the link...
Add headers, footers, and Bates numbering to PDFs, Adobe Acrobat
How can that be done without a script?
Copy link to clipboard
Copied
I can't speak for them, but I think they mean you can add it manually... I don't see a way of doing it automatically with the built-in command.
Copy link to clipboard
Copied
This is pretty simple: please see this video:
Copy link to clipboard
Copied
This will not work in Adobe Acrobat.
Copy link to clipboard
Copied
You can find a free Action here that creates header/footer
https://acrobatusers.com/actions-exchange/
It's called The File Name Stamper
You can get a more sophisticated version of this here:
https://www.pdfscripting.com/public/Automation-Tool-Descriptions.cfm
but it's not free.