2 Replies Latest reply on Jun 9, 2017 5:20 AM by Peter Kahrel

    Hyperlink groups

    jakec88782761 Level 2



      Does anyone know how to access and change the name of a hyperlink group?


      By a hyperlink group, I mean the group that hyperlinks are put into when they have the same destination.


      I tried hyperlink.parent but this always returns [object Document].





        • 1. Re: Hyperlink groups
          jakec88782761 Level 2

          If anyone's interested, I just found out that this is the hyperlink destination name property.


          So I did this:


          hlSource = doc.

          paragraphDestinations.add ( destination );
          hlSource.name = name



          You should check that the destination is duplicated before doing this though

          • 2. Re: Hyperlink groups
            Peter Kahrel Adobe Community Professional & MVP

            Hyperlinks don't have groups. What looks like a group is simply two or more text sources pointing to the same destination. It's vaguely comparable with what you see in the Links panel when you place two or more pages from the same PDF.