0

This question already has an answer here:

For a variety of reasons, I have an unusually complex email address which is tiresome to keep re-typing. Is there any way I can re-program one of my little used Windows 10 keys, such as a function key, to hold this address?

marked as duplicate by Ƭᴇcʜιᴇ007, Moab, Pimp Juice IT, DavidPostill Jun 24 '17 at 19:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

Create text file "email.txt" and put your email into it. Next create another text file and paste following code into it:

Option Explicit
Dim wshShell
Set wshShell = CreateObject("WScript.Shell")
WshShell.Run ("cmd.exe /C clip < email.txt"), 0, true

Rename this file "email.vbs". This vbscript file (email.vbs) won't allow to assign shortcut key, so create a shortcut of the "email.vbs" and then you can assign shortcut key to it.

Every time shortcut key is pressed, content from email.txt (your email address) is being copied to clipboard and you can paste it easily.

  • Plz note that this answer does not involve third party programs like "autohotkey" and task could be accomplished with using existing tools/programs. – African Networks Jun 25 '17 at 2:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.