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

Count Bookmarks

New Here ,
Jul 20, 2020 Jul 20, 2020

I am using Adobe Acrobat Pro 2017 and am trying to find a way to count the bookmarks in my documents.  I've tried some javascripts I found online but can't get anything to work.  Can someone tell me a step-by-step process to add a button (Action) to the application that will give a count of the bookmarks?

 

Thank you so much.

 

Christine

TOPICS
How to
808
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 Expert ,
Jul 20, 2020 Jul 20, 2020

Would you mind sharing an the scripts that you found online?

 

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 Expert ,
Jul 20, 2020 Jul 20, 2020

Are the bookmarks on multiple levels? If so, that would require a recursive function.

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 Expert ,
Jul 20, 2020 Jul 20, 2020

Interesting!

 

Could this also be implemented when spawning templates, not just counting?

 

I apologize if the question has nothing to do with the topic, though.

 

I think I have an idea for another user.

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 Expert ,
Jul 21, 2020 Jul 21, 2020
LATEST

Recursion only works when you have a "tree" of undetermined length, as you can't hard-code a loop for each level (because you don't know how many levels there are going to be when you write the code). Templates are not nested, so it doesn't make sense to use it for them.

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