6 Replies Latest reply on Aug 13, 2009 5:23 AM by DanyVos

    [CS3][JS] Document.packageForPrint only writes instructions.txt


      Hi guys (and girls?),


      I wanted to create a package from a document that is generated by script, but instead of exporting all files, it only gives me the instructions.txt.


      When I copy the packageForPrint line in a very simple script it does work:


      var mydoc = app.documents.add();
      var packageFolder = new File("/c/Test/");


      So when I use this exact same packageForPrint command in the rest of my script, I only get the instructions.txt file. There is no INDD file.


      Any ideas why this would behave differently, or why I don't get an INDD file in the package?