1 Reply Latest reply on Dec 4, 2015 12:09 PM by Vamitul

    Ignore pasteboard items

    mbrogdon

      I work with a vendor that has automated exporting pages as PDFs out of InDesign.

       

      Unfortunately, by design, their software will not export a page if there are items on the pasteboard that contain broken links or missing fonts.  It marks the export as failed.

       

      According to my contact with this company, they are unable to ignore pasteboard items during the export.

       

      I am fairly sure that pasteboard items can be ignored, but want to get feedback from this board before pursuing the matter further.

       

      I even found the script below which is supposed to perform this function.

       

      The script is running on a Mac using IDCS5.5.  Not sure if it's AppleScript or JS as it's been compiled and protected.

       

      Any input?

       

      Thanks!

       

       

      app.findTextPreferences = NothingEnum.nothing;

      app.changeTextPreferences = NothingEnum.nothing

      app.findTextPreferences.appliedParagraphStyle = "sajeev";

      found = app.activeDocument.findText();

      for(var i=0; i<found.length; i++)

      {

          if(found[i].parentTextFrames[0].parentPage != null)

          {

              found[i].select();

              alert("Your further code process goes here...")

          }

      }

      app.findTextPreferences = NothingEnum.nothing;

      app.changeTextPreferences = NothingEnum.nothing