Appending a new page to a pdf
MACBOOK PRO, Mac OS X (10.6.2), SNOW LEOPARD
MACBOOK PRO, Mac OS X (10.6.2), SNOW LEOPARD
mv "$1" $3"
The workflow first gets the printed PDF, passes it along with the file you selected. It then gets the file names that are passed to it as two items. The first is the temp file created in the print. The second is the file you want to append to. The Combine PDFs will combine the two pdfs into a temp file. This file is passed along and the two saved file names are passed along with the Get Value of Variable action. So, you've got the combined pdf ($1), the printed pdf ($2), and the destination filename ($3). The shell script renames the first argument passed to the name of the third argument passed (mv is move in unix which moves the temp file to the location of the destination file, thus overwriting it or renaming it).
Appending a new page to a pdf