Copy link to clipboard
Copied
Hi all,
I've run into an interesting situation. A while back I was studying how to design and implement InDesign plugins. I spent time studying Adobe's prebuilt jsx files via the Adobe ExtendScript Toolkit and had began working on a few projects of my own.
I wanted to run some jsx scripts to get a glimpse of how they operate in InDesign opposite the code used to build them. I'm not exactly certain which plugin script I ran, however there is one similar to my situation titled 'DocumentWatermark.jsx'. Upon loading in one of the scripts (or maybe I monkied with a script before running it), I seem to have cursed myself inevitably as there is consistently a watermark on each page of every new document I create. This is inoptimal as the watermark prints at full opacity regardless of its lower visual opacity on the document, thus causing issues with the documents I am capable of producing. I also have the structure tab open visually every time I create a new document.
I would like to turn both of these features off if possible. I have a script to turn off the 'confidential' watermark which was provided by another support community thread. The code is simply:
app.activeDocument.watermarkPreferences.watermarkVisibility = false;This can be inserted anywhere and run at any time. However, this only turns off the watermark for the active document and not for each new document.
I also know that I can hide the structure tab with the key command Ctrl + Alt + 1 or by heading to View>Structure>Hide Structure. However I would prefer, if possible, to cease these interactions with each new document.
Anyone have tips on how to fix this?
Try targeting the application, not a document:
app.watermarkPreferences.watermarkVisibility = false;
Copy link to clipboard
Copied
Try targeting the application, not a document:
app.watermarkPreferences.watermarkVisibility = false;
Copy link to clipboard
Copied
Hey Peter,
Thank you for the tip! I didn't see your message until after I had made some troubleshooting attempts of my own. As cursed as it sounds, I'm attempting to replicate the issue again to see if this is a fix however I cannot seem to get this problem to reoccur. Hopefully this snippet is a fix for anyone who has a similar problem!
Thank you for your help!
Copy link to clipboard
Copied
Uninstalling InDesign, removing old preferences and reinstalling the program cleared this problem for me, however if anyone has insight onto how to solve something like this, it would be appreciated.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more