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

Display the cExpr of bookmarks

Engaged ,
May 30, 2019 May 30, 2019

Copy link to clipboard

Copied

Is there a way to display the cExpr (JavaScript function has been assigned to all of them) of all of the bookmarks?

I am printing all my bookmarks in the panel which looks like this...

for (var i = 0; i < this.bookmarkRoot.children.length; i++) {

console.println(this.bookmarkRoot.children.name);

var bk = this.bookmarkRoot.children;

for (var j = 0; j < bk.children.length; j++) {

                console.println(bk.children.name);

}

}

So how can I display the JavaScript that is assigned to each bookmark?

TOPICS
Acrobat SDK and JavaScript , Windows

Views

210

Likes

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , May 30, 2019 May 30, 2019

Not possible.

Likes

Translate

Translate
Community Expert ,
May 30, 2019 May 30, 2019

Copy link to clipboard

Copied

Not possible.

Likes

Translate

Translate

Report

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
Engaged ,
May 30, 2019 May 30, 2019

Copy link to clipboard

Copied

LATEST

Easy enough answer. Thank you Bernd Alheit

Likes

Translate

Translate

Report

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 Expert ,
May 30, 2019 May 30, 2019

Copy link to clipboard

Copied

Not possible in Acrobat (at least not with a script, maybe a plugin?). It is possible using a stand-alone tool, though.

Likes

Translate

Translate

Report

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