Copy link to clipboard
Copied
Hi,
Just recently opened up an "old" file ...
It contains a watermark...
It's not located on the mastepages or any layer or similar ...
I cannot remember how i added this ..... I have a weak thought that it could have been a Plug I installed back then to add this.... but I'm unable to locate this Plug if I used this....
Damn, frustrating!!
Any ides?
Best/brandtz
[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]
[Moved from Comments forum to specific Program forum... Mod]
Hi Jongware,
As Ariel wrote above:
app.activeDocument.watermarkPreferences.watermarkVisibility = false;
(^/)
Copy link to clipboard
Copied
Can you post a screenshot or export the page to JPG?
Is the watermark on a photo?
Copy link to clipboard
Copied
Hi Pariah
Thanks!
Yes, attached!
No this is not on a photo ...
Copy link to clipboard
Copied
Check the background layer for locked objects.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Top hit from Google: Watermarks in InDesign
The first few answers are rather old and didn't use the built-in Watermark object, but further below is a mention of Tomaxxi's script which does, and which you presumably used in the past.
Copy link to clipboard
Copied
Hi [Jongware]
Thanks!
Well, I think you're right about this ... I remember this little plug/script ....
But, hmmm! It's not installed any more, but the watermark still remains?
Maybe I should install this again if I can locate a version .... and then maybe be able to remove it!
Copy link to clipboard
Copied
try running this script on the document
document.watermarkPreferences.watermarkVisibility = false;
Ariel
Copy link to clipboard
Copied
brandtz wrote
But, hmmm! It's not installed any more, but the watermark still remains?
Maybe I should install this again if I can locate a version .... and then maybe be able to remove it!
The script doesn't render the watermark "live", it just enables the function that shows it. After that, the watermark is visible until it gets switched off again -- probably, again, using the same script.
If you indeed can recall using this particular script, best send Marijan "Tomaxxi" Tompa a private message, because I cannot find a downloadable version either, and the dropbox link in the original question doesn't work anymore.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Ah yes, I remember that discussion (esp. Uwe's observation "another feature that didn't make it to the UI", which explains why I searched in vain in Adobe's own online help).
Your script there is to switch it on. Can you adjust it to switch off, as Brandzt needs?
Copy link to clipboard
Copied
Does my little one-liner not do the trick?
Ariel
Copy link to clipboard
Copied
Hi Ariel,
Sorry, thanks for your input .....well... I did try... haven't tried to use these script before...
So what I did:
pasted the script in a txt doc and changed the file name to .jsx. Added it to the scriptpanel and ran the script, but with a javascript error.
Copy link to clipboard
Copied
Tá´€W wrote
Does my little one-liner not do the trick?
Ariel
Hi Ariel,
it didn't, because we are here in the InDesign forum and not in the InDesign Scripting forum. The OP did not or cannot know, that document is a variable name for app.documents[0] or app.activeDocument and must declared before used… The simplest thing for a scripter. But sometimes we forget that when working with users who never looked into ExtendScript scripts for InDesign (or tried writing one).
Best,
Uwe
Copy link to clipboard
Copied
Hmm, well, that's not true in CC2015 onwards. "document" === app.activeDocument by default -- try it and see. So the script should work as is.
Let's fire up CS6 and see what happens...
Aha! Works fine in CS6.
I don't have an earlier version of InDesign to test on.
Anyway, the one-liner should work fine for the OP presuming he's on CS6 and later, and maybe even earlier...
Ariel
Copy link to clipboard
Copied
Hi Ariel,
I stand corrected…
Phew. Never thought that a simple document statement will work for the active one.
Thanks! Learned something today…
Uwe
Copy link to clipboard
Copied
Hi all,
Well, yes .... as you, I cannot find a downloadable version ....
But yes if this script mentioned above can be reversed, it would be perfect!
Or I should send Marijan a note and explain to him my issue ...
Thanks all for input ....
Copy link to clipboard
Copied
Hi Jongware,
As Ariel wrote above:
app.activeDocument.watermarkPreferences.watermarkVisibility = false;
(^/)
Copy link to clipboard
Copied
Hi all,
Hallelujaaaaaa, it did the trick ...... this is awesome
Well, thank you all for your input, I'm a little uncertain whom to give the button "click" Correct answer now...
Anyway the watermark is gone, this is just perfect!
Copy link to clipboard
Copied
Don't play for points!
(^/)
Copy link to clipboard
Copied
I see
Well Ariel came up with the script, but I wasn't able to use it correctly for some reason....
Yours did the trick for me ....
And Jongware and everyone else have been very helpfull guiding me in the right direction.