How can I keep hyper links intact when I run the sortparagraph script?

Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / How can I keep hyper links intact when I run the sortparagraph script?

Viewing 3 reply threads
  • Author
    Posts
    • #65738
      drizcol
      Participant

      Im working on a large catalog and have been hyperlinking products sections to the TOC. The client decided that the TOC needs to be in numerical order by product number. I tried to run the sortparagraph script but it does not retain the hyper link page locations. Instead its keeping the to the location.

      For example if the list was like this before running the script:

      321: (hyperlink to chair section)
      231: (hyperlink to bathroom furniture section)
      123: (hyperlink to desk section)
      412: (hyperlink to table section)

      after running “sortparagraph” script it does this:

      123: (hyperlink to chair section)
      231: (hyperlink to bathroom furniture section)
      321: (hyperlink to desk section)
      412: (hyperlink to table section)

      Instead I want the hyper links to stay with the part number like this:
      123: (hyperlink to desk section)
      231: (hyperlink to bathroom furniture section)
      321: (hyperlink to chair section)
      412: (hyperlink to table section)

      Any suggestions?

    • #65754

      Use “Retain Formatting”, even though it is slower. Hyperlinks *are* a form of formatting.

    • #65849
      David Blatner
      Keymaster

      Also, remember that you can sort the TOC alphabetically when you create it (rather than chronologically). Click More Options to see the “Sort Entries in Alphabetical Order” feature.

    • #77032

      I guess you can also create drop-down box of the that redirect to you desired product link details.

      Regards.
      Mark of https://caldwells.com/

Viewing 3 reply threads
  • You must be logged in to reply to this topic.
>