These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to remove metadata "Keywords" information?

oald
Registered: Oct 12 2011
Posts: 17

I can remove metadata "Title", "Author", "Subject" successfully by codes below:
 
this.info.title = "";
this.info.author = "";
this.info.subject = "";
 
But when I try to move metadata "Keywords", the following code doesn't work:
 
this.info.keywords = "";
 
It will add a semicolon before the original information, e.g. the original "Keywords" field is "abcdefg", after running the following code, it changes to ";abcdefg":
  
could you kindly advise how to remove all "Keywords" information by JavaScript? Thanks a lot!
 
PS: I know this can be realized by Batch Processing of Acrobat, but I need to do this by JavaScript. :(
  

My Product Information:
Acrobat Pro 8.1.6, Windows
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1875
See this previous topic for more information: http://acrobatusers.com/forum/javascript/document-properties-keywords-field-scripts-add-double-quotes-multiple-values