Copy link to clipboard
Copied
Hello!
I have a bunch of watermark settings saved. I'd like to be able to share them with other users. How do I export them?
Thanks!
Copy link to clipboard
Copied
"What's the path on a Mac?"
/Users/NAME/Library/Preferences/Adobe/Acrobat/DC/Watermark/
Copy link to clipboard
Copied
You will find many of the Acrobat preferences in XML files at the location returned by this JavaScript funtion:
app.getPath("user","preferences")
For windows this path is:
/C/Users/<user>/AppData/Roaming/Adobe/Acrobat/Beta/Preferences/Watermark
There will be one XML file for each watermark definiton. To share your preferences, copy these files to the same location on the different computer.
Copy link to clipboard
Copied
What's the path on a Mac?
Copy link to clipboard
Copied
I believe it is in this folder, but I'm not completely sure:
/Macintosh HD/Users/[..user name..]/Library/Application Support/Adobe/Acrobat DC/Preferences
The only way to be sure is to create a custom watermark preference, and then run the code I posted above in the console window
Copy link to clipboard
Copied
The code above doesn't work when I run it in Terminal; I get a
-bash: syntax error near unexpected token `"user","preferences"'
At this filepath: Users ▸ [username] ▸ Library ▸ Application Support ▸ Adobe ▸ Acrobat ▸ DC ▸ UserPrefs, there are two text files.
I searched the whole Library folder and the only watermark folder that came up was for Lightroom.
Copy link to clipboard
Copied
What do you mean by terminal? The code is meant to be run in the Acrobat JavaScirpt Console Window.
Copy link to clipboard
Copied
"What's the path on a Mac?"
/Users/NAME/Library/Preferences/Adobe/Acrobat/DC/Watermark/
Copy link to clipboard
Copied
I was able to get them shared on a Mac, no problem, thank you! I'm still having trouble with PC though. XML watermarks are stored on my PC here:/Local Disk (C:) / Users /<your profile> / AppData / Roaming / Adobe / Acrobat / DC / Preferences / Watermark
My watermark is a JPG, not text.
Even when I put the JPG into the file specified by the XML watermark, I get an error about a source file not being available.
Thanks!
Copy link to clipboard
Copied
Since your watermark is from a file, the XML will contain a "SourceFile" tag with the full path to that file. Notice that this path uses the Acrobat Device Independent File spec. It's not finding your file because the path is bad, or in the wrong format.
Here's an article that explains the Device Independent File path format:
https://acrobatusers.com/tutorials/file-paths-acrobat-javascript/
Copy link to clipboard
Copied
If none of the above works, you can open a previous file that contains the watermark, delete all of the content. This will leave only the watermark on the page. Then save it using a new name, like "watermark1". Then open the file you want to apply the watermark to and add your recently created file as the watermark. You may have to manipulate the size of the watermark. For me, I just made it 100% and it worked just as before. Then "Save Settings" and give your new watermark a name. All done and it will be available as watermark for future documents.