5 Replies Latest reply on Jul 11, 2012 6:06 AM by Muppet Mark

    RasterItem .file property with broken link

    Seb_C_Bien12345

      Hi,

       

      I want to get the "file.displayName" property of a RasterItem from a file where links are broken.

       

      the script :

       

      myItem = app.activeDocument.selection[0];
      myItem.file.displayName;
      

       

      works fine if the RasterItem source file is where the link points at.

       

      In my case, the link points to the local drive of another computer, so the "file" property of the RasterItem doesn't exists !!!

      I don't understand why, because all the informations are in the Links pannel of illustrator.

       

       

      Can anyone help me with that ?

       

      Thanks