3 Replies Latest reply on Apr 22, 2013 7:23 AM by gkaiseril

    Bookmark coordinate


      How can get Bookmark coordinate or Bookmark page number?

        • 1. Re: Bookmark coordinate
          Test Screen Name Most Valuable Participant

          Bookmarks don't necessarily have either of these things; as per the PDF specification (ISO 32000-1) there are at least a dozen kinds of possible actions for a PDF. One kind has a page and rectangle on the page.


          If you mean, programmatically, you'd have to write an Acrobat plug-in to get this information (C/C++, not suggested for beginners to these languages).

          • 2. Re: Bookmark coordinate
            try67 MVP & Adobe Community Professional

            With a script you can execute a bookmark and see where it takes you in the

            file. That's about it...

            • 3. Re: Bookmark coordinate
              gkaiseril MVP & Adobe Community Professional

              You cannot get the setting from the bookmark object with JavaScript. If you know the bookmark's action to open a page within the open PDF, then you use the JavaScript "execute" method of the bookmark object and then use the "pageNum" property of the doc object to obtain the zero based page number.