The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
__________________________________________________________________

Hi Peter,

> I have the option active, but the problem is that the pdf's are then
> stored in a temporary path where a regual user can not find it
> afterwards.

Just out of curiosity: does the following script work for you (saved as
executable and named eg. "~/Library/PDF Services/Save to Desktop")?

----------------------------------- 8< -----------------------------------
#!/bin/sh
# $1 --> Title -- 10.3.x seems to be buggy in this regard
# $2 --> Printing Setup Record
# $3 --> Path to PDF

FinalPDF="${HOME}/Desktop/$1"

Counter=0
while true; do
    Target="${FinalPDF}${Suffix}"
    if [ -f "${Target}.pdf" -o -d "${Target}.pdf" ]; then
        Counter=`expr ${Counter} + 1`
        Suffix=".${Counter}"
    else
        break
    fi
done
mv "$3" "${Target}.pdf"
----------------------------------- >8 -----------------------------------

Regards,

Thomas


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdf.html

Reply via email to