advertisement
Forums

The Forum is sponsored by 
 

AAPL stock: Click Here

You are currently viewing the Tips and Deals forum
Automator question: modify "Save PDF to Web Receipt Folder"
Posted by: space-time
Date: February 11, 2008 06:32PM
I use this feature a lot. The problem is that if I have a file already there like "Macresource Forums // Tips and Deals.pdf", the second time I print a different post, the first one is overwritten. Same goes with Amazon.com orders, etc.

I would like to modify the workflow, to add a date/time stamp to the file name.

For example, if I print it right now, it would be

Macresource Forums // Tips and Deals_2008-02-11_19-32-00.pdf

How do I do this?

Thanks
Options:  Reply • Quote
Re: Automator question: modify "Save PDF to Web Receipt Folder"
Posted by: deckeda
Date: February 11, 2008 07:03PM
Don't know. I can only offer a mini-clue.

Look in /Library/PDF Services. You should see "Save PDF to Web Receipts Folder.workflow".

Make a duplicate of it.

Open the copy in Automator. As you'll see, all it appears to do is create a Web Receipts folder in your Documents folder if none exists. The printing function is also the PDF creation function; that's why there's no clue about that in the workfllow document.

Adding a script of some kind to the workflow that makes the Mac look for the presence of a filename equal to what you're about to dump in there would be nice; don't ask me how to do it. But if you get that, Save As with a new name.
Options:  Reply • Quote
Re: Automator question: modify "Save PDF to Web Receipt Folder"
Posted by: space-time
Date: February 11, 2008 07:21PM
Thanks, I opened the script in Automator, but I am lost. I would rather dig into AppleScript than figure out automator. At least I can take an AppleScript and modify it to fit my needs, but with Automator I am lost. I am digging into it now though.
Options:  Reply • Quote
Re: Automator question: modify "Save PDF to Web Receipt Folder"
Posted by: space-time
Date: February 11, 2008 08:34PM
anyone?
Options:  Reply • Quote
Re: Automator question: modify "Save PDF to Web Receipt Folder"
Posted by: SparkyNimrod
Date: February 11, 2008 08:36PM
I had exactly the same question, and found the answer in an Automator action at MacOSX Hints. Note that the "Web Receipts" option in Leopard doesn't use an editable Automator workflow, so you can't copy that one. I made mine on Tiger, and used it there. Then later had to remake it using the the updated Leopard Automator components.

Here's the post:
[www.macosxhints.com]

If you're using Leopard and having trouble with it, PM me. I can send you mine.
Options:  Reply • Quote
Re: Automator question: modify "Save PDF to Web Receipt Folder"
Posted by: space-time
Date: February 11, 2008 09:14PM
I am on Tiger, so I think it should work. Thanks for the link, will check it out.
Options:  Reply • Quote
Re: Automator question: modify "Save PDF to Web Receipt Folder"
Posted by: space-time
Date: February 11, 2008 09:25PM
All set, thanks!
Options:  Reply • Quote
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 272
Record Number of Users: 52 on November 20, 2014
Record Number of Guests: 847 on February 04, 2015