I am trying to shirk the page of PDFs through use of javascript (which is a smaller part of my overall script). I know that if you select Document --> Header & Footer --> Add and then select "Appearance Options" you can select "Shrink document to avoid overwriting the document's text and graphics". This basically shrinks the document to fit the specified margins.
I want to be able to do all those steps through javascript to the current document opened.
I have attempted to do that through the Batch processing, but it can only do it to a selected file, folder, or all open documents. I want to be able to do this only to the current document my script will be executed on.
Does anyone know if there is code out there to do this? I looked through the Adobe scripting manual and have not found anything on point.
Thanks
Mike
If you want, you can crop all pages using JS, but you will have to manually provide the values to it.
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com