I'm very new to this and have tried something, but can't get my head around it.
I want to add a hot key for when I get an invoice PDF, so I can send it to the payment system via email with a hot key.
So I need:
The copy the file (to the clipboard?)
make it a variable
use the variable in the send mail script
Or what ?
Thanks for the help
August 3, 2019, 11:02pm
I’m sitting in an airport so my reply is brief. But what is wrong with using the forwarding feature in Apple Mail? Have you considered that?
And what do you mean by “send it to the payment system”? If you just want to forward it, Apple Mail can probably do that for you.
I want it for files. Not emails.
August 4, 2019, 12:42am
You're on the right track. All you need to do is use the
For Each action with the Finders Selection collection to make the selected file (specifically, its path) into a variable, then use that variable with the Send Mail action, like this:
This can only be used to attach one file per message (if you want to attach multiple files, you need to look into using AppleScript) but if one file is all you need, this should do the trick.
August 4, 2019, 3:03am
Ahh. I misunderstood. When you said "when I get an invoice" I thought you meant via an incoming email. I thought you meant getting invoices sent to you in an email. Sorry.
Hey [quote="Anders_Kristensen, post:1, topic:14653"]
I want to add a hot key for when I get an invoice PDF, so I can send it to the payment system via email
Welcome to the Keyboard Maestro forum!
What mail client are you using?
If you haven't read this it's worth a couple of minutes of your time.
Tip: How Do I Get The Best Answer in the Shortest Time?
How to Post Your Macro to the Forum