Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Acrobat X javascript for Protection > Remove hidden information... > MetaData

Status
Not open for further replies.

dcompto

Technical User
Jul 5, 2001
751
0
0
US
Using Acrobat X, I have created an Action that does:

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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top