Hey everyone, I am using PdfPen 5 and need some help making an applescript command for PdfPen. I am looking to create a folder action, where I would drop a pdf file into a folder and make some modifications to the pdf file. 1. I need a dialog box to ask "Is there a coversheet" with a "yes" or "no" button. - -If the user answers yes, then delete page 1 of the document 2. Next, if the page count of the document is less than 10, then end the script, otherwise continue 3. If the remaining page count of document is 19 ->then delete pages 5 through 19 or If the remaining page count of document is 20 ->then delete pages 6 through 20 4. Then I need to make imprint A on page 1, imprint B on page 2, imprint C on page 3, etc. [I learned how to make the imprints, but don't know how to assign imprint A to page 1, imprint B to page 2, etc.) Purpose: The documents are typically 19-20 pages long, with the first page being a coversheet, which can be deleted. The next four pages are the important pages that need an imprint. The remaining pages (around 15-16) are unimportant. I know this can be done manually, but it would be really inefficient because I go through about 100 of these documents a week. So a folder action that would allow me to drop a pdf file into and automate this whole process will be really nice. I don't know much other than the basics about programming, and almost nothing about applescript. Any input will be appreciated. Even if you can only help one single part of the problem, I will be very thankful. If you have any other suggestion on how to solve this problem, please give your input.