Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Action with JS as documented by Adobe without result

Community Beginner ,
Aug 16, 2016 Aug 16, 2016

I found the following to change (in my case insert) copyright information in the meta-tags of a PDF:

http://help.adobe.com/livedocs/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp...

I created in Acrobat Pro 10.1.16 an action, from the tools the "run JavaScript" and copied the JS from the link in the window which opens when clicking the options.

After running the action the copyright information (cmd + D -> additional Metadata) remain as before (unknown status and empty Copyright-Info and Copyright-URL).

Must I change somewhere settings or does someone know where I made my mistake??

TOPICS
Acrobat SDK and JavaScript
280
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 16, 2016 Aug 16, 2016

What does it say in the JavaScript console?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 16, 2016 Aug 16, 2016
LATEST

Console:

can't set property @http://ns.adobe.com/xap/1.0/rights/::WebStatement in XMLList

48:Batch:Exec

TypeError: can't set property @http://ns.adobe.com/xap/1.0/rights/::WebStatement in XMLList

48:Batch:Exec

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines