27 Replies Latest reply on Sep 29, 2013 1:23 AM by kenrou123

    Exporting a snippet

    Barqx Level 1

      I want to export the elements on my page as a snippet. I've tried the following code, but nothing happens, when I run the script.


      app.activeDocument.allPageItems[0].exportFile(ExportFormat.INDESIGN_SNIPPET, new File("snippet.imds"));



      How can I fix this?