6 Replies Latest reply on Jan 9, 2018 3:58 PM by JR_Boulay

    Placing Form Button over each Bullet in a Document (or finding string's coordinates on page)?

    AcrobatDCUser Level 1

      Hello! ! I'm coming from different languages, just getting back into JavaScript, and struggling on this one...

       

      I see how to JavaScript the placing of a Form Button on a page, including how to set its location...

      https://acrobatusers.com/tutorials/js_add_buttons_to_pdf

       

      ...but I'm trying to figure out how to automatically place the button over each bullet in a document, for example.

       

      How can I find the coordinates (so to speak) of specific text or character strings found within a document, such as using a method like this?
      https://acrobatusers.com/tutorials/text-matching-regular-expressions

       

      I'm using primarily Adobe Acrobat X Pro, but also Adobe Acrobat DC Pro.