Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Convert URLs to Hyperlinks & ignore breaks

Return to Member Forum

  • Author
    Posts
    • #101282
      Matt Mayerchak
      Participant

      Hey all – Up until InDesign CC2014, I was using In-Tools Power Styles plugin to convert URLs to Hyperlinks. It was superior to the other methods I know of, because I use a lot of Discretionary Line Break characters to force URLs to break before the punctuation (dots, slashes, etc.) at the end of a line. Harb’s In-Tools plugin was able to find these URLs even with all the break characters in them, and ignore those break characters when copying the text to the Hyperlink.

      It was the only script or plugin that I have seen that knew how to handle these URLs with hidden break codes in them. And it worked on a whole document in seconds. It was great!

      Unfortunately, In-Tools has not been updated since CC2014. I’ve tried to reach Harbs, to no avail. So, I can only assume his business is defunct. Other tools I have available, such as DTP Tools, include the breaks as a space character in the hyperlink dialog, so the links don’t work.

      I work on a lot of files that have URLs in the endnotes, and we have to create hyperlinks for the online editions.

      Does anybody know of a script that can find URLs with the discretionary line breaks in them and copy just the visible text to the hyperlink field in the Hyperlinks panel?

      I would be happy to pay for such a script! Please let me know if you know where to find one, or can create one. Thanks!

    • #101284
      Raphael Freeman
      Participant

      Hyperlink Pro

      It breaks the hyperlinks according to CMS.

    • #101289
      Matt Mayerchak
      Participant

      Hi – I bought Hyperlink Pro and am happy to report that it works great for this use. I had already inserted the discretionary line breaks into the URLs for typesetting, so I was relieved to see that even though it can add them as well, if I have already got them in place, the script can still create the hyperlinks properly. I do not have to remove them all first and then run the script.

      NOW, I have a 2nd request. For this particular publisher, they have a digital pdf platform that requires each hyperlink to have a special tag inserted at the end. It’s a character string beginning with #.

      I would love a script that can add a given text string to the end of all the hyperlinks – but not in the text; just in the hyperlink dialog (the link itself).

      I know that I could probably accomplish this by using GREP to add this tag string to all my hyperlinks before running Hyperlink Pro, and then delete them from the text. In theory, these tags will be part of the hyperlinks that Hyperlink Pro creates. It’s a bit messy, but I plan to try that for today.

      However, for future use, it would be great to have a script that can add these tags to just the hyperlink, while leaving the text alone. Anybody have such a script handy, or want to write one?

    • #101290
      Raphael Freeman
      Participant

      Why don’t you contact the company that made the script to customise it for you?

    • #101291
      Matt Mayerchak
      Participant

      yes, I’m definitely considering that. But sometimes people already have certain scripts they’ve made for specific things like this so I just thought I’d ask.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.
Forum Ads