Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Preflight

Return to Member Forum

  • Author
    Posts
    • #59716

      Hi,

      Does somebody know how to limit the preflight to specific pages? Tried the following script, but that one gives me an error. Any help would be much appreciated.

      Thanks.

      Jan.

      var myErrorProfile = “TestProfile”;

      var doc = app.activeDocument;

      var myOptions = app.activeDocument.preflightOptions;

      myOptions.preflightScope =”1″;

      // Perform the preflight with the error profile

      var profile = app.preflightProfiles.item(myErrorProfile);

      var myprocess = app.preflightProcesses.add(doc, profile,myOptions);

      myprocess.waitForProcess();

      var results = myprocess.processResults;

      myprocess.saveReport(File(“~/Desktop/Errors.txt”), false);

      if (results.substring(0,4) !=”None”){

      myErrors ++

      }

      myprocess.remove();

Viewing 0 reply threads
  • You must be logged in to reply to this topic.
Forum Ads