Skip to main content
Participant
December 15, 2020
Question

How can i insert a header with file name?

  • December 15, 2020
  • 1 reply
  • 2077 views

Hi, i have few pdf files and i need to automatically print on each one the name of the file. Is it possible? Can you help me?

 

Moreover, how can I generate a link between a title on one page and the same title on another page?

 

Thanks in advance 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
December 15, 2020

You can do it using an Action if you have Acrobat Pro, and a simple script.

I'm not sure what you mean by "linking" the titles, though... Also, should the title on the page update if the file-name changes?

Participant
December 16, 2020

Hi try67, thank for your answer. How can i produce the script for making the header with the file name? 

I prefer a simple script and in case I change the title, rerun the script. 

 

about the second question, it's not referred to the header. It's referred to something like this. 

Page 1 pdf

in the body of the page, I have

Cod. 2568

 

Page 6

in the body of the page, I have

Cod. 2568

 

I want to create a link between this two pages. 

try67
Community Expert
Community Expert
December 16, 2020

Do you want it to appear on each page of the file, or just the first? Where exactly do you want it to appear? How should it look like (font, size, color, etc.)?

 

I still don't quite understand how the links should work. What if there are more instances of "Cod. 2568"? How should it know which one to link to? Also, do you have a list of the texts you want to do this for? This is a much more complicated task than the first one, either way.