Jump to content

So to be completely upfront and honest - This isn't my script, in fact, I don't know anything about javascript. But I found this script on a forum that splits pages in half of an entire adobe pdf in acrobat. Now the script works amazing, but there's one problem - it splits the pages in half vertically, and I need them split horizontally. I was hoping someone here knows enough about Javascript to be able to modify this script to cut the pages in half horizontally. 

 

Thanks. Script is attached.

splitpages.js

 

Edit: I tried moving around the + halfWidth and -halfWidth to adjust the size of the crop box, but it seems to just double every page (I'm assuming the box is selecting the entire page when I adjust it) I think the array needs to be adjusted.

 

Edit2: Found a way to crop every page... Just selected a crop box, double clicked the crop area, then chose even/odd pages.

The inner machinations of my mind are an enigma.

Link to comment
https://linustechtips.com/topic/956506-help-with-javascript-and-adobe-acrobat-pro/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×