3 Replies Latest reply on Sep 5, 2015 4:23 AM by Peter Kahrel

    only the link file name alert

    hamdifem Level 1

      A selected object

      I just want to alert the name

      not the file extension

       

      var mySel = app.activeDocument.selection;
      alert (mySel.link.name);
      

       

      Alert : Flower.eps  (this not)

      Alert : Flower   (I want)