Using Acrobat X, I have created an Action that does:
Step (1)
Execute Javascript
'to apply a copyright watermark
Step 2:
Protection > Remove hidden Information > MetaData
'to make watermark unremovable
QUESTIONS:
(A) Can Step 2 be done with javascript?
(B) Is there a way to make a custom toolbar button for the Action?
Thanks for any help you can provide!
Step (1)
Execute Javascript
'to apply a copyright watermark
JavaScript:
/* Watermark - COPYRIGHT */
this.addWatermarkFromText({cText: "COPYRIGHT \xa9 " + util.printd("yyyy", new Date), nTextAlign:app.constants.align.center, cFont: "Arial Black", nFontSize:72, aColor: color.red, nOpacity: 0.5, nRotation: 45});
Step 2:
Protection > Remove hidden Information > MetaData
'to make watermark unremovable
QUESTIONS:
(A) Can Step 2 be done with javascript?
(B) Is there a way to make a custom toolbar button for the Action?
Thanks for any help you can provide!