8 Replies Latest reply on Jun 3, 2015 10:14 AM by try67

    Place button on top of only blue text on page

    subieguy2 Level 1

      Is it possible to find the color of the text on a page and if the text is a certain color place a button on it?


      here is an example of generic sudo code

      var page = this.pageNum;
      for (var i = 0; i < numWords; i++) {
        if(numWord.color == blue){
        var l = this.addField(button, page);


      Sorry I am new to JavaScript in Acrobat. Wasn't sure if this is possible.


      Any advice for how to accomplish this would be greatly appreciated!