I can give you a detailed description…
This script’s goal will be to set up a 3 page proof that I will write to a PDF and email to the customer.
The proof consists of page 1, where I will need to import the ART SIGNATURE PDF file. Page 2 gets the BARCODE SIGNATURE PDF imported, and page 3 gets a BARCODE SHEET PDF imported.
Because of the nature of every, I only need to create a 8.5" x 4" box to import the ART and BARCODE SIGNATURE PDFs into. I am only interested in seeing the top half of those PDFS. So I need to be able to import them and have them postioned flush to the left and top of the graphic container.
Page 3, I will need to create an 8.5" x 11" graphic container that will receive the BARCODE SHEET PDF. For starters, this graphic will always be 8.5 x 11 in size. One thing that I have noticed doing this manually, is that I had to specific what the bounding area of the PDF object was. Originally, I didn’t realize that, and when we imported the barcode sheet, it wouldn’t fill the page. So that’s something I need to keep in mind, by what bounding box is being used to import the PDF.
All three of the PDFs to be imported will be based on the job number provided at the beginning. That will be stored as a variable and the path will be something like: serverName:PDFProofs:JOBnumber:
then I will need to say something like:
on page 1, create a box that is 8.5 x 4 and import into that box, the PDF in the folder whose name contains “ART”. If this isn’t found, display dialog “ART not found” and then go to page 2
on page 2, create a box that is 8.5 x 4 and import into that box, the PDF in the folder whose name contains “BC”. If this isn’t found, display dialog “BC not found” and then go to page 3
on page 3, create a box that is 8.5 x 11 and import into that box, the PDF in the folder whose name contains “SHEET”. If this isn’t found, display dialog “SHEET not found” and then save this file into the folder SERVER:WorkFiles:JobNumber as a file called “JobNumber” & “PROOF”
I have an existing script that works for QuarkXpress that does this exact routine, I just can’t wrap my head around the coding for making this happen in InDesign. Would you like to see that file?
thanks ever so much
David