Try this script in an External Process. Upload batch file and Python script to the FreeFlow Core Scripts folder. In the External Process point to the batch file using the default parameters "$FFin$" "$FFout$". Python has to be installed along with PyPDF2 (pip install PyPDF2). You may need to change the paths in the batch file to Python and the FreeFlow Core Scripts folder.
The Python script will check the MediaBox of all the pages in a pdf. If the next page is larger than the current page, then a page will be added. You need to change the path in this row in the Python script to where that page is:
blank = PdfFileReader('C:/Temp/blank.pdf')
The script also assumes there is a C:/Temp/ folder.
Currently all of the files we receive from this client are bookmarked. The bookmarks which take place on the 11X17 pages are always named something different. I have tried this method already. I appreciate the quick reply!
There really should be a choice in Core where you can put an n amount of inserts before or after the first page of X size or before or after the last page of X size.
I have documents that contain a page range of 8.5 X 11 sheets, then a page range of 11X 17, then back to 8.5 X 11. I am trying to insert a blank 8.5 X 11 only before the first 11X17 so when I split by page size there is an insert in the 8.5X11 section to show production where to manually insert the 11X17s after printing. I have tried multiple ways, but cannot seem to have it work.