5 Replies Latest reply on Jul 16, 2009 11:11 AM by Bernd Alheit

    need to modify existing bookmark

    Techi Panda Level 2

      Hi scripters

       

                   Hi scripters I need to modify existing bookmark in my pdf. I have bookmark named "shortcut keys", the bookmark action will open another pdf document named "001.pdf". Now I want to modify the linked document name 002.pdf. I have to do this for nearly 400 documents.

       

                  Here I got the bookmark which one I want to modify, I am struck here

       

      var myRoot = this.bookmarkRoot;
      for (var i = 0; i < myRoot.children.length; i++) {
      if(myRoot.children[i].name=="Shortcut keys")
      {

      // modify link goes here

      }

      }

       

      any one have an idea what’s the next step?

       

      thanks in advance

       

      regards

      a r u l