Re: Copy email address from clipboard to outgoing Mail message
Re: Copy email address from clipboard to outgoing Mail message
- Subject: Re: Copy email address from clipboard to outgoing Mail message
- From: Mike Matthews via AppleScript-Users <email@hidden>
- Date: Wed, 13 May 2020 17:51:37 -0700
Thanks, Shane. This worked quite well.
mm
On Wed., May 13, at 5:26 PM, Shane Stanley via AppleScript-Users
<email@hidden> wrote:
>
> Or:
>
> set customer to the clipboard
> tell application "Mail"
> set newMessage to make new outgoing message with properties
> {subject:"Blah, blah, blah", content:"La-de-dah"}
> tell newMessage to make new to recipient with properties
> {address:customer}
> end tell
>
> Scripting addition commands should generally be kept outside application tell
> blocks.
>
> --
> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden