Split PDF, name odd pages and name even pages in sequence
I need help creating a script to ask the user for a PDF file then do the following:
-Extract even pages and rename name with "_Front#" ending where "#" is a number sequence starting with 1.
→ ex: the PDF I choose when prompted is "anatomyBook". The extracted even pages would be:
- anatomyBook_Front1, anatomyBook_Front2, anatomyBook_Front3,...
-Extract odd pages and name them similarly except replace "Front" with "Back"
Thanks for the help!