How can I keep hyper links intact when I run the sortparagraph script?
- This topic has 3 replies, 4 voices, and was last updated 8 years, 8 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / 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?
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?
Use “Retain Formatting”, even though it is slower. Hyperlinks *are* a form of formatting.
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.
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/
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies allows us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.
You have to be logged in to save.
Not a member? Join Today - it's FREE!