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

javascript to delete page when i delete the bookmark

Guest
Apr 19, 2017 Apr 19, 2017

javascript to delete page when i delete the bookmark

TOPICS
Acrobat SDK and JavaScript
351
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 ,
Apr 20, 2017 Apr 20, 2017

What should happen when the bookmark doesn't point to a page?

What should happen when 2 or more bookmarks points to one page?

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 ,
Apr 20, 2017 Apr 20, 2017
LATEST

No event gets fired when a bookmark is deleted so you'll want to clean the bookmarks when the document saves, add a menu item, or create a custom command to trigger the process.

A script that demonstrates how to delete unused bookmarks is at the link below.

How to delete unused bookmarks from a PDF?

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