Every morning my manager sends me an email with three pdf files of reports. I want to wake up and see these sitting on my printer in the morning. Any suggestions how to do this?
I know that I will have to attach the script in the “Rules” of Mail.app. Then I would like to print through the command-line with “lpr -p” (that way i can avoid previewing or anything).
My question is how do I get the attachments out of the email? Can I print them directly or will I have to extract them and move them to a folder etc.?
I am sorry to revive this long-dead topic but I can’t find much help with the search option.
I have never written a script in my life so this stuff appears somewhat foreign to me at first glance. I have been trying to learn it with the tutorials but there is just too much it initial knowledge for this old timer to pick it right up. ANy help on this would be greatly appreciated.
I need a simple script that I can run in conjunction with my Mac.Mail rules function. Rules in the mail program are simple enough, even for me. So I can properly filter the emails I want and then command the rule to run an applescript. I’m kind of lost from that point on.
I need too print the *.pdf and/or *.doc file/s that are attached to the emails. Just to complicate things, on occasion there may be 2 or 3 attachments that need to be printed. If possible, I would like the script to choose a specific printer (not a necessity tho) and give me some indicator that the task has been preformed (again, not a requirement).
I would be glad to pay a reasonable fee, if someone feels like they can do this for me. If you like working with scripting tools, I may have additional projects to send your way.
For informational purposes, the emails being received are from the local district clerk. They contain court date information that I need to pass along to clients.
System Info:
Mac OS X: 10.6.5
AppleScript Editor 2.1.2 ver 2.3 (118)
Mail 4.4 (1082)
I found a taker on another site. I just wanted to update here, incase someone was working on the solution in an effort to procure a ‘reasonable fee.’ It doesn’t appear that my request got much traction here but I wanted to make sure no one felt jilted.