Trouble with permanent crop code
Hi. I have a script that is meant to crop a pdf permanently by setting the media box to the crop box.
However when I run it I get the following error:
for(var i=0;i<this.numPages;i++)
var rCrop= this.getPageBox("Crop",i)
this.setPageBoxes("Media",i,i,rCrop)
TypeError: Invalid argument type.
Doc.setPageBoxes:1:Console undefined:Exec
===> Parameter nStart.
any help would be much appreciated.
Thanks
