Poll

Aboot this blog

This blog is a cross between a scrapbook and a diary. I hope you find something here of interest. If you’d like to keep up with things as I see them then you can subscribe to my news feed by clicking the icon below:

feed-icon-28x28.png

DISCLAIMER

Please note that any reviews/recommendations are based solely on my own experience and does not constitute a guarantee that you will have the same experience. Please do your own research before parting with any money - the risk is all yours!

The Briticiser

Looking for my world famous US to GB English spelling converter?

THE “BRITICIZSER”

www.us2uk.eu

IT’S HERE

Tags

  Software     Family     3D Stuff     Browsers     PHP     Word     Flatpress     News     Bits and Bobs     Reviews     Utilities     Windows     Acrobat     Hardware     Tutorials     Odds and Sods     Equipment     Bookmarks         Plausible Lies     Education     Overcoming Disabilities     VBA     Excel  

Find me on Facebook

facebook-icon-28x28.pngVisit my Briticiser Facebook Page to keep up with things here - lots of reviews of stuff I’ve really used and also all kinds of helpful computer tips with a heavy bias towards SAVING YOU TIME.

How to add the file name and page number to multiple PDF files in Acrobat X Professional

Permalink: http://paul.us2uk.eu/?x=entry:entry150404-150500

*Updated September 2015*

Batch processing of PDF files was a powerful feature of previous versions of Acrobat Professional. Since the release of Acrobat X Adobe have renamed batch processing as “Actions”. While these are just as easy to set up and retain much - if not all - of the functionality of the previous versions there is one major problem with Actions - they are incredibly SLOW TO RUN, in comparison with the good old batch processes.

For those who are either stuck with Acrobat X+ or who are perfectly happy with the new interface then this article explains how to set up an Action to add the file name and page number to a whole folder full of PDF files. If you’d like to learn how to set up a batch process in earlier versions of Acrobat Professional then click here for my earlier article on how to do that.

Here we go then, Acrobat X fans…

1. Click the Action Wizard then choose “Create New Action”

clip_image002

2. Click “More Tools” in the left hand pane, choose “execute JavaScript”, then click the green

“+” button in the middle to add this action to the right hand pane.

It’s a good idea to uncheck the “Prompt User” at this stage, if you want Acrobat to fly through the process without showing you the JavaScript Editor on each occasion.

clip_image004

3. Click on “Specify Settings” in the right hand pane to display the JavaScript Editor

clip_image006

You may find it more convenient to make this window larger by clicking and dragging the bottom right hand corner of the editor.

4. Enter the JavaScript contained in the following file into the editor

pdf-add-filename-pageno-to-footer.zip

so it looks like this:

 image

If you’re feeling brave you can modify the layout of the footer in the line highlighted in blue, above. You may wish to show the page number only, or change the wording, or even display the file name (“FileNM”) after the page number. Just remember to keep that semi-colon (;) at the end of the line!

Click Ok to close the Editor.

5. At the top of the right hand pane is an area where you can select a folder containing all of the files you want to add the footer to. Click the folder button to browse for a folder, select the folder you want, then click Ok.

clip_image010

6. You’ll probably want your process to save the files automatically as the Action runs, so head West to the left hand pane, click on “Save & Export”, then add this to the right hand pane as well. This will appear below your JavaScript but you can re-order these individual elements of your action using the up and down arrows on the right.

clip_image012

Click on “Specify Settings” under the Save action to open the output option screen. The main item of interest here is that you can choose to either save over your original files, or either prepend or append the existing file name with something else. In this example we want to add “-stamped” to the file name and save it as a new file.

Click Ok to continue.

clip_image014

7. The Create New Action window should now look something like this. Just a reminder here to UNCHECK the “Prompt User” box otherwise you’re in for a lot of clicking and stuff when the Action is run!

Click Save to continue.

clip_image016

8. Give your new action a meaningful name and description, then click Save.

clip_image018

Your new action will appear in the actions list

clip_image020

9. Click on the action to display a list of files to be processed. Just click the start button if all seems well. If you left the “Prompt User” box checked then the JavaScript Editor will appear again FOR EACH FILE YOU ARE PROCESSING, in case you want to make any last minute changes. If you’re happy with your settings just click the Ok button to continue.

If you cleared the “Prompt User” checkbox then Acrobat will just start applying the footers and saving the files without any user intervention needed BUT, and this is a biggie, there is no way in Acrobat Professional versions X or XI (this example was done in version XI) to run Actions in the background, as you certainly could with Version 7 and (probably) with Versions 8 & 9. This makes the whole process a lot slower as Acrobat opens each document in turn on your screen, does what you’ve told it to do, then moves on to the next document.

While this is certainly quicker than doing it all by hand it is WAY slower than it was in previous versions. In my test it processed a batch of 10 files in about 15 seconds whereas to process the same 10 files in the background in previous versions of Acrobat would have took about ONE second.

The reason for this is that Actions CANNOT be run in the background. You want to add footers to 200 files? Well, in previous versions of Acrobat that would have taken about 20 seconds but, because you now have to sit and watch each of those 200 files open on the screen and bear witness to Acrobat inserting the footer, saving and closing the file, and then moving on to the next one, with Actions you have time to go and put the kettle on - you certainly can’t use your computer for the next few minutes.

The bad news is that Adobe are not likely to change this any time soon. It’s probably by design to make customers fork out for their enterprise solutions which may well incorporate such unattended processes to be run on a server. Desktop users (i.e. you and me) will just have to like it, lump it, or find another solution to the problem.

The good news is that alternative solutions not only exist, but you may be pleasantly surprised to learn that, for instance, Acrobat 7 Professional is currently free of charge from Adobe and you can run it in some 64 bit Windows 7 installations in Virtual PC/XP Mode. Miss those dockable toolbars with all your most frequently used tools right in front of you? You get those back too :)

Read more: How to run Acrobat 7 Professional on Windows 7 64 bit computers

img style=

Support our caregiving

If you found anything on this site of use, interesting, or even mildly amusing then please consider dropping a few pennies in the jar to help us to take care of our disabled son who contracted encephalitis in 2007 at the age of 6 and who is now confined to a wheelchair. He is getting bigger as his mother and I get older, imagine that, please. Every penny we collect goes towards his upkeep, and towards his future care requirements.

Thank you.

Support our caregiving

Support our caregiving

If you found anything on this site of use, interesting, or even mildly amusing then please consider dropping a few pennies in the jar to help us to take care of our disabled son who contracted encephalitis in 2007 at the age of 6 and who is now confined to a wheelchair. He is getting bigger as his mother and I get older, imagine that, please. Every penny we collect goes towards his upkeep, and towards his future care requirements.

Thank you.