Looking for an acrobat script to delete blank pages
I need an acrobat script to delete blank pages. By blank, I mean TRULY blank, with nothing on them.
I found this script: but it just looks for pages without text content. So it also ended up deleting pages that had vector graphics on them.
for(var i=this.numPages-1;i>=0;i--)
{
if(this.getPageNumWords(i)==0)
this.deletePages(i);
}
Can anyone help by making this script just apply to truly blank pages? Alternatiely, it would work if it only looked at 11"x17" pages and deleted the blank ones.


