4 Replies Latest reply on May 14, 2018 3:42 AM by miguel.delmoral

    Could not save the Preflight report of a book

    miguel.delmoral

      Hi all:

       

      In a script I wrote the following lines to generate a Preflight report:

      var filePreflight = new File("C:\[...]\Preflight.txt");

      app.activeBook.preflight(filePreflight);

       

      I'm working in a PC with Windows 7.

      When I run the script in ExtendScript Toolkit it works fine, generates a text file containing the Preflight report.

      When I run the script file .jsx in InDesign it works fine, generates a text file containing the Preflight report.

      But, when I export the .jsx as binary file and run the binary script file .jsxbin in InDesign, it doesn't generate the Preflight report file.

       

      Does anybody know why it doesn't work when running the script from a binary file?

       

      Thanks.

       

      Miguel