How to replace 35 externals urls hypperlinks in a pdf document, in batch

  • How to replace 35 externals urls hypperlinks in a pdf document, in batch

    Posted by humberto della togna on October 13, 2021 at 9:11 am

    Hi, I have about 50 url hyperlinks in a pdf document (i have revu extreme), and I would like to know if it is possible to change them.

    Example:

    1. https://www.123.com/ohplayer?p1site&note1

    2. https://www.123.com/ohplayer?p1site&note2

    to… 35

    etc..

    To:

    1. https://www.123.com/ohplayer?p2site&note1

    2. https://www.123.com/ohplayer?p2site&note2

    to …35

    Troy DeGroot replied 2 years, 6 months ago 3 Members · 5 Replies
  • 5 Replies
  • Troy DeGroot

    Organizer
    October 13, 2021 at 9:30 am
    Points: 21,025
    Rank: UC2 Brainery Brown Belt I UC2 Brainery Brown Belt I

    That’s a tough one. I think you have to Edit Action on each one.. 😬

    Are you jumping to each link shown on each page? You could go to the Hyperlink Panel (Alt+N) and right-click on each one to edit. might be faster in list form if you’re not already doing it that way.

  • humberto della togna

    Member
    October 13, 2021 at 12:10 pm
    Points: 1,045
    Rank: UC2 Brainery Yellow Belt UC2 Brainery Yellow Belt Rank

    Hi the problem that i have to do like a 10 to 15 report per week, and have between 10 to 100 pages, it is a lot of work doit one by one…, do you think can by build a python script or something like that?

    • Troy DeGroot

      Organizer
      October 13, 2021 at 4:12 pm
      Points: 21,025
      Rank: UC2 Brainery Brown Belt I UC2 Brainery Brown Belt I

      That’s an interesting idea. @lizlarsen Do you know if something like this could be done with JavaScript?

  • Andrew Veggian

    Member
    October 14, 2021 at 11:19 am
    Points: 2,608
    Rank: UC2 Brainery Orange Belt UC2 Brainery Orange Belt Rank

    This is fairly simple as long as the text in your document is the full hyperlink address. For example, your text in the document is “https://www.123.com/ohplayer?p1site&note1″, and not “text” with a hyperlink to a website address.

    Using the example you provided do the following:

    1. Search the document for “p1”

    2. In the search results list select all results then click the magnify glass with arrows just above the results and replace the “p1” text with “p2”.

    3. Delete all the old hyperlinks from the hyperlinks list.

    4. Automatically create new hyperlinks using Tools>Markup>PDF Content>Create Hyperlinks from URLs…

    • Troy DeGroot

      Organizer
      October 14, 2021 at 12:26 pm
      Points: 21,025
      Rank: UC2 Brainery Brown Belt I UC2 Brainery Brown Belt I

      Thank you for this @andrew-veggian I appreciate you in the Brainery!

Log in to reply.