Script to create hyperlinks for a given style

Home Forums InDesign Add-ons (Scripts, Scripting, and Plug-ins) Script to create hyperlinks for a given style

This topic contains 4 replies, has 3 voices, and was last updated by  Jim Swift 4 months ago.

  • Author
    Posts
  • #95536

    Jim Swift
    Member

    I thought this would be an easy script to find, but I cannot find one, or one that can be adapted easily.

    I can create hyperlink destinations (text anchor) for each of the terms , sometimes a 2 or 3 word phrase, in a dictionary of terms.

    When a term is used elsewhere in the book it it in an italic character style with a unique name term-ref-italic.

    What I am looking for is a script that, for every term in the term-ref-italic style, created a hyperlink with the same word as the hyperlink destination. It’s easy enough to do manually, but with a few hundred references a script would be preferred.

    Thanks

  • #95537

    Hi,

    You’re searching InDesign fringe tricks! …

    I don’t think for free! If not interested for paying something, don’t watch this video! … ;-)

    (^/)

  • #95554

    Masood Ahmad
    Member

    Hi Jim, there is a script that converts the URLs to hyperlinks. I will provide the link tomorrow.

  • #95568

    Masood Ahmad
    Member
  • #95569

    Jim Swift
    Member

    Many thanks, Masood.
    But I don’t have URLs to start with, so I don’t think this approach will work.

    In any case, I’ve had to move on from this idea. I found that the words in italic that I wanted to link were not consistently formatted, for a number of reasons and with over 6000 entries, too much manual work would be involved.

    Appreciate the help, thanks.

You must be logged in to reply to this topic.