1 Reply Latest reply on Sep 30, 2015 11:07 PM by BSKTCreation

    How do I get access to the Copy All Link Information using a script?

    davidn5918184

      I'm wondering how to copy All Link Information from a selected image using a script?

        • 1. Re: How do I get access to the Copy All Link Information using a script?
          BSKTCreation Level 2

          Hi David,

           

          Try these, it should be all of them...

           

          var myDoc = app.activeDocument;
          var myLink = myDoc.allGraphics[0].itemLink;
          alert(myLink.assetID);
          alert(myLink.assetURL);
          alert(myLink.date);
          alert(myLink.edited);
          alert(myLink.editingState);
          alert(myLink.eventListeners);
          alert(myLink.events);
          alert(myLink.filePath);
          alert(myLink.id);
          alert(myLink.index);
          alert(myLink.isValid);
          alert(myLink.label);
          alert(myLink.linkType);
          alert(myLink.linkXmp);
          alert(myLink.links);
          alert(myLink.name);
          alert(myLink.needed);
          alert(myLink.parent);
          alert(myLink.preferences);
          alert(myLink.properties);
          alert(myLink.size);
          alert(myLink.status);
          alert(myLink.versionState);
          
          

           

          Brett