The answer to your problem is also on this page:
http://superuser.com/questions/384967/add-a-header-to-every-page-in-a-pdf
You can use the Watermark PDF documents action in Automator to add an image on every page of a PDF file. You can specify location, scale, rotation, and opacity.
Set up the entire automator workflow as you would, but skip adding the watermark image (you can't). Save the workflow to a file. Right-click the workflow in Finder and select Show Package Contents and navigate into
Contents
. Opendocument.wflow
in a text editor, e.g. TextMate.
The actual parameters and their values are stored in the
ActionParameters
dictionary. The relevant key isfilenames
. By default, it looks like this:
<key>ActionParameters</key> <dict> <key>angle</key> <integer>0</integer> <key>fileNames</key> <array/> <key>onePDF</key> <false/>
Just edit the
<array/>
declaration and add all files as <string>
s, like so:
<key>fileNames</key> <array> <string>/Users/danielbeck/Desktop/test.png</string> </array>
Save the file, and reopen the workflow in Automator. The image will be correctly listed, and you can fix its position and other properties, before you apply it.
Remember that the workflow does not replace the input file as many others do, the output is written to a temporary file. Use the Move Finder Items action afterwards.