Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Automator - Watermark PDF Documents

Since Lion, I'm unable to use the Auromator Action "Watermark PDF Documents"

I can select a .png file for the watermark, but it does not list in the action (see below)


Can someone confirm that they are also unable to get this action to work, as I would like to isolate this as a Lion issue and not a system issue on my end.


User uploaded file

MacBook Air, MacBook, Mac mini-OTHER, Mac OS X (10.7)

Posted on Sep 6, 2011 5:09 AM

Reply
Question marked as Best reply

Posted on Sep 6, 2011 9:12 AM

Same for me...


I'm hoping to add a Print Service which adds letterhead to document...

I'm not able to add any images to the Watermarks list (exactly as you described)


If you have any solutions, please post.


Thanks

Jeff

13 replies

Apr 22, 2012 5:38 AM in response to Tony T1

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.

Manually fixing the workflow for Mac OS X Lion

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
. Open
document.wflow
in a text editor, e.g. TextMate.

The actual parameters and their values are stored in the

ActionParameters
dictionary. The relevant key is
filenames
. 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.


Oct 24, 2012 11:41 AM in response to Interloper_nl

Interloper_nl wrote:


Automator saves it in a temp directory somewhere. Add a "Move Finder Items" to the end of your workflow, and set the destination to your Desktop (for example).


That should show you the created file on your Desktop. (There probably are several ones in your temp folder by now, with random names. You should see to deleting them.)

I tried adding the "Move finder Items" but alas still no result..


Is there anyway I can upload a copy of my workflow so you can check if im doing something wrong?


Ben

Automator - Watermark PDF Documents

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.