4 Replies Latest reply on Apr 21, 2009 1:38 AM by Oviya...

    Unable to unlink .incx file???

    Oviya... Level 1

      Hi,

       

      I m trying to unlink a .incx file through javascript. I tried this:

      alert(app.activeDocument.links.length);
      alert(app.activeDocument.links[0].name);
      app.activeDocument.links[0].unlink();

       

      Name of the link and other properties are accessible, the function unlink() also gets executed without error,

      but the operation is not done. I m able to do it manually. And when the link is placed in its actual location, the unlink function works...

       

      I couldnt understand the problem, why i m not able to unlink thro code wen its possible manually???

      Im using InDesign CS3...

       

      Someone pls guide me....

      Thank You.