3 Replies Latest reply on Apr 3, 2012 3:18 AM by try67

    setAction overrides previous action

    Techi Panda

      Hi Experts


      I have a pdf with links using named destination. Now my problem is the zoom levels are not maintained same zoom level for the links. I have just used this code to set zoom level.



      var numLinks=0;

      for ( var p = 0; p < this.numPages; p++)


      var b = this.getPageBox("Crop", p);

      var l = this.getLinks(p, b);

      numLinks += l.length;

      for(var i = 0; i < l.length; i++) {





      while I am executing this lines the action go to page in this document actions is deleted and run javascript action is added. I want both actions to be present.

      This can be possible?


      Thanks in advance