4 Replies Latest reply on Nov 28, 2006 9:50 AM by (juancarlossm)

    [IDS CS2][JS]: exportFile not recognising inCopy type

      // working
      var myItem = myDocument.textFrames[0];
      myItem.exportFile(ExportFormat.jpg, myFile);

      // working
      myDocument.exportFile(ExportFormat.jpg, myFile);

      // not working
      var myItem = myDocument.textFrames[0];
      myItem.exportFile(ExportFormat.inCopy, myFile);

      // ---
      Anyone have an idea why the textframe does not recognise "ExportFormat.inCopy" ?
      I think "myDocument.textFrames[0];" is the correct statement to obtain a "textFrame"
      page 1068 on the CS scripting guide shows "ExportFormat.inCopy" as being available.