Send an URL by Mail

Share your favorite FastKeys commands
Posts: 8
Joined: Fri Feb 21, 2014 12:04 am

Send an URL by Mail

PostPosted by weberwa » Tue Feb 24, 2015 10:29 am

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

Site Admin
User avatar
Posts: 642
Joined: Sat Mar 02, 2013 9:02 pm

Re: Send an URL by Mail

PostPosted by Marko » Tue Feb 24, 2015 12:04 pm

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%

Posts: 8
Joined: Fri Feb 21, 2014 12:04 am

Re: Send an URL by Mail

PostPosted by weberwa » Tue Feb 24, 2015 1:27 pm

Hi Marko

Thank you very much, works!

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

Excellent support, again!

Walter

Return to User Commands and Scripts

Who is online

Users browsing this forum: No registered users and 0 guests