Send an URL by Mail

Share your favorite FastKeys commands
Post Reply
weberwa
Posts: 6
Joined: Feb 21st, ’14, 00:04

Post by weberwa » Feb 24th, ’15, 10:29

Being a beginner in such things:

What would be a possible Commandline for

"Pick up the current URL (in Chrome) and prepare an email containing that URL in the email body (for example in Lotus Notes)"?

I know: There is/was an extension for that in Chrome, but this does not work anymore (in Windows) for whatever reason.

Thank you for every suggestion -
Walter
User avatar
Marko
Posts: 1718
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Feb 24th, ’15, 12:04

Hi Walter, the script below first selects an adress field in a browser (F6), copies it into clipboard and then runs a Windows Mailto command with specified parameters. It works for me, you may have to play a bit with a Sleep commands in case you see the issues on your computer. You can of course change all the mail fields (to, cc, subject, body...)

Code: Select all

Send, {F6}  ;select adress field
Sleep 100
Send ^c		;copy adress to clipboard
Sleep 300	;change if not reliable

to:="to@email.address"
cc:=" "
bcc:=" "
subject:="Link"
body:=Clipboard "%0A%0ABest regards,%0A%0AJohn"

Run mailto:%To%?cc=%cc%&bcc=%bcc%&subject=%Subject%&body=%body%
weberwa
Posts: 6
Joined: Feb 21st, ’14, 00:04

Post by weberwa » Feb 24th, ’15, 13:27

Hi Marko

Thank you very much, works!

I had to appoint "mailto:" to Lotus Notes first, then it worked.

Excellent support, again!

Walter
Post Reply