Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

one of my friends asked me yesterday if there was some way for him to create a shortcut key and attached it to his E-mail addressee (thus a string or text).

Example: In a document, mail, webpage, etc. press CTRL + M (or another combination) it writes ""

Is this possible?


share|improve this question

migrated from Mar 3 '10 at 14:26

This question came from our site for professional and enthusiast programmers.

up vote 4 down vote accepted

I also highly recommend AutoHotKey, as @Snark suggests, but I'd suggest you use a hotstring like this:

If that line is in your .ahk script, every time you type my@ followed by a space or a tab, it will auto-expand it into, anywhere and everywhere you type it.

No need to worry about collisions with Ctrl-M in other applications.

share|improve this answer

Easy to do with AutoHotkey. This command will map CTRL m to type the email address:

share|improve this answer
AHK is the way to go. Considering how likely Ctrl+M is to be used you might want to limit AHK to the particular programs where this shortcut is desired. – mindless.panda Mar 3 '10 at 15:32

ClipCache may suite your needs

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .