Insert the same metadata to multiple files
Copy link to clipboard
Copied
Hi, I need to insert metadata (always the same) in multiple PDF files. Is it possible to do this in one action for all files, or am I forced to do it for each individual file? I use Adobe Acrobat Pro.
I'm Italian, please sorry for my bad english
Copy link to clipboard
Copied
Yes, this can be done using the Action Wizard.
Which specific metadata properties do you want to set?
Copy link to clipboard
Copied
I need to enter the following metadata:
- title
- author
- subject
- keywords
Copy link to clipboard
Copied
OK, then create an Action that executes this script:
this.info.Title = "New Title";
this.info.Author = "New Author";
this.info.Author = "New Author";
this.info.Subject = "New Subject";
this.info.Keywords = "Keyword1,Keyword2,Keyword3";
Make sure to tick off the "Prompt User" check-box under the "Execute JavaScript" command, and to add a Save command, and then just run this Action on your files.
Copy link to clipboard
Copied
I think I have an unsuitable version. I use acrobat 9 pro
Copy link to clipboard
Copied
It exists in your old version, but under a different name. Look for "Batch Processing" or "Document Processing", I believe under the Tools menu.
Copy link to clipboard
Copied
Found it, tried it and it works! Thank you!
I take advantage of this, would it be possible to do the same thing for the transformation into pdf/a?
Copy link to clipboard
Copied
Should be, yes. Go to the settings of the Save command you added and see if there's an option to export the files to another format. If so, select PDF/A and then run the batch process on your files. It should look something like this:
Copy link to clipboard
Copied
The output option does not work, because there are problems in the file which, without correcting them, will not make the transformation successful. I added the preflight in the script commands, so it works. With the only problem that it generates a new pdf/a file with the original name + "_A1b". This is already fine, I rename the files one by one, but if there was the possibility of avoiding this too, it would be perfect.
 
Copy link to clipboard
Copied
Maybe it's a setting of the Preflight Profile...

