Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Prevent accidental overwriting of web receipts files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Prevent accidental overwriting of web receipts files
Authored by: jtrevorchapman on Dec 16, '07 11:45:10PM

How do I get this to work on 10.5

When I go into /library/ PDF services

I get a workflow that looks like this: Save PDF to Web Receipts Folder.pdfworkflow

It won't open in automator, even when I open it arbitrarily.

Please HELP!



[ Reply to This | # ]
10.4: Prevent accidental overwriting of web receipts files
Authored by: jpravetz on Jan 03, '08 01:00:40PM

As pointed out, this is now a python script in 10.5. You can directly edit the "tool" file at /Library/PDF Services/Save PDF to Web Receipts Folder.pdfworkflow/Contents to add the behaviour you want. I, for example, changed the default save folder, and added/changed these lines:

import datetime
# Create a YYYYMMDD string
today = datetime.datetime.now().strftime("%Y%m%d_")
destFile = today + title + ".pdf"

This is the first time I've edited python, but it seems to work.



[ Reply to This | # ]