8 Replies Latest reply on Nov 16, 2009 1:54 PM by Patrick Leckey

    Bulk Change Links with JS Acrobat

    Ignacio Lirio Level 1

      Hi all,

       

      I have a 300 page PDF file with about 350 links that refer to external files. This links were bad made from the source so they point to absolute URLs instead of relative.

       

      I wonder if I could access all the links via Javascript , I could access their destination property and remove the absolute path junk.

       

      But it looks like I can change just few things like border and not so much else, but NOT the link destination itself, so I cannot make a script that automates the process and "cleans" my PDF.

       

      Anyone has some clue about how to do this? Thanks!

       

      Ignacio