2 Replies Latest reply on May 30, 2008 8:49 PM by dhishok

    Missing Links Report...

    dhishok Level 1
      Hi,

      We are working in InDesignCS2, we want to generate the report of missing Links as *.txt file or in the InDesign itself. That we need missing links names. We have the script of identifying the missing links in InDesign document. But creating report for missing links we don't have. So please suggest for this and help me.

      Our Script,

      var missingLinks = new Array;
      var myLinks = app.activeDocument.links;

      for ( i = 0; i < myLinks.length; i++ )
      {
      if ( myLinks[i].status == LinkStatus.linkMissing )
      {
      missingLinks.push( myLinks[i].name );
      }
      }
      var theMessage = ( missingLinks.length > 0 ) ? "Missing links:\r" + missingLinks.join( "\r" ) : "OK!"
      alert( theMessage );

      Thanks & Regards
      Thiyagarajan. S