Hi,
I created a script which works as follow : after I select a few PDF files in the finder, Automator combines these into a single PDF document and opens it in Preview. From there I take the control back and rename the combined document with a name i like and save it.
My script works fine in Automator, it consists of:
- Get Selected Finder Items
- Combine PDF Pages
- Open Finder Items (with Default Application)
When testing the above script within Automator, I get exactly what I want. Suppose I apply it on two PDF files (A and B), Automator produces a single PDF file with two pages (A - B). That's what i want.
However, and here is the mystery, when I run this very script from the Finder after having selected the same two files, Automator produces a single PDF file with four pages (!) instead of A - B, I get A - B - A - B.
So I need to delete a pair of A - B to get back to the intended result, which is a two-page document (not a four).
Any idea of why this is happening? or any way to fix it?
Thanks,
Lance
I created a script which works as follow : after I select a few PDF files in the finder, Automator combines these into a single PDF document and opens it in Preview. From there I take the control back and rename the combined document with a name i like and save it.
My script works fine in Automator, it consists of:
- Get Selected Finder Items
- Combine PDF Pages
- Open Finder Items (with Default Application)
When testing the above script within Automator, I get exactly what I want. Suppose I apply it on two PDF files (A and B), Automator produces a single PDF file with two pages (A - B). That's what i want.
However, and here is the mystery, when I run this very script from the Finder after having selected the same two files, Automator produces a single PDF file with four pages (!) instead of A - B, I get A - B - A - B.
So I need to delete a pair of A - B to get back to the intended result, which is a two-page document (not a four).
Any idea of why this is happening? or any way to fix it?
Thanks,
Lance