Applescript to choose a message in mail & download its attachment
Hi,
I'd like to know if there's a way to prompt the user to choose a mail message like how we are able to choose file / folder?
Mainly, I'd like the process to go like:
Choose a mail, download its attachment, perform actions on the attachment.
I'm stuck at how I can reference a message as well for the downloading of the attachment. ATM, I'm only able to get the message ID by already selecting the mail message in Mail, and doing "set my_Sel to get selection".
Thank you.
OS X El Capitan (10.11.4)