1 Reply Latest reply on Dec 8, 2015 1:25 AM by banl_05
      • 1. Re: How to select link image
        banl_05 Level 1

        Hi Everyone,

         

        Here my code its working fine.

         

        var myDoc = app.activeDocument;

         

        for(var n = 0; n < myDoc.links.length; n++)

        {

            var aLink = myDoc.links[n];

            alert(aLink .name);

            var link, image, frame;

            if(aLink == '[object Link]')

             { 

                  link = aLink;

                  image = link.parent;

                  frame = image.parent;

                  frame.select();

             }

        }


        Regards,

        Balaji B.