Copy link to clipboard
Copied
Is there a way to create an Action/Fixup that crops every page of a PDF in the following way: Everything inside the crop marks are kept, but the crop marks themselves plus everything outside is removed.
I found a javascript snippet years ago that achieved this as an Action iirc, but I don't have it anymore. Been searching and trying out different solutions but nothing seems to work.
Copy link to clipboard
Copied
I managed to find the snippet, which can be saved as an action:
/* Crop to Cropmarks */
for (var i=0; i<this.numPages; i++) {
var ar = this.getPageBox("Trim", i);
this.setPageBoxes("Crop", i, i, ar);
}
Copy link to clipboard
Copied
I managed to find the snippet, which can be saved as an action:
/* Crop to Cropmarks */
for (var i=0; i<this.numPages; i++) {
var ar = this.getPageBox("Trim", i);
this.setPageBoxes("Crop", i, i, ar);
}
Find more inspiration, events, and resources on the new Adobe Community
Explore Now