Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placing PDF on Even or Odds rather than All Pages. #27

Open
GHDakota opened this issue Apr 19, 2022 · 4 comments
Open

Placing PDF on Even or Odds rather than All Pages. #27

GHDakota opened this issue Apr 19, 2022 · 4 comments
Labels

Comments

@GHDakota
Copy link

Hello! Is there any way to have the script only apply to evens or odds rather than all pages? I need to place my PDF onto all even pages and can't figure out the code to make this happen nor a way to do such! Thanks!

@mike-edel
Copy link
Owner

mike-edel commented Apr 22, 2022

Unfortunately no built-in way but what I usually do is split the original PDF in Acrobat.
This post describes a fairly efficient method to select all even/odd pages - you just have to export them into a new PDF instead of deleting them.
https://answers.acrobatusers.com/delete-multiple-pages-time-q112681.aspx

@mike-edel
Copy link
Owner

Alternatively, Acrobat's Organize Pages toll has an option to extract only odd/even pages: https://youtu.be/NBK5-TKChwI?t=114

@GHDakota
Copy link
Author

I see - I was trying to take a PDF of about 120 pages and import it to only the evens in ID - So if you placed it on page 2 and then the import/script would then place 2,4,6,8 etc. What I did and it just took a little longer was use blanks in the PDF and then imported with your script and since the blanks show as frames I just ignored them! Thanks for the reply though I really appreciate it! I took a peak into the script to see if it was possible for me to change, but figured my way was a good bandaid!

@mgmhunt
Copy link

mgmhunt commented Jun 9, 2023

For anyone else stumbling on this - attached is a version which allows inserting every X pages, rather than all. It is not tested at all but got the job done that I needed at the time. Can't be bothered with the pull request etc as it's rushed - maybe maintainer will spend a bit of time testing and merging.

I've used it by running twice - e.g. 1st run Pages 1-10, every 2 pages, start doc page 1, top right. 2nd run Pages 2-10, every 2 pages, start doc page 2, top left.
MultiPageImporter2.7.0.jsx.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants