Copy link to clipboard
Copied
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.parentTextFrames[0].parentPage != null)
{
found.select();
alert("Your further code process goes here...")
}
}
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing
Copy link to clipboard
Copied
Here you go: Indiscripts :: Clean up your Pasteboard!
Simply clear all items on the pasteboard before sending the files to the vendor.