outlook assign function keys text value

want to be able to have a function key when pressed in message compose box, cause text "abcdef...." to be placed in the email message being composed
smcsmc1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joe Winograd, Fellow&MVEDeveloperCommented:
There are many ways to do this. Here's the way I do it.

I use an excellent (and free!) programming/scripting/keyboard macro product called AutoHotkey. Here's an EE article that shows where/how to download and install it:
http://www.experts-exchange.com/Web_Development/Document_Imaging/A_13315-How-to-Combine-Merge-PDF-Files-in-Many-Subfolders.html

The article is about a different topic — you may safely ignore most of it — use it just for the section near the beginning on downloading and installing AutoHotkey.

After installing it, AutoHotkey will own the file type AHK. Use any text editor (Notepad is fine) to create a plain text file called <hotkeys-startup.ahk> with the lines below in it (of course, you may give it whatever file name you want, but the file type should be AHK, not TXT):

F12::
Send abcdef
Return

Of course, the F12 may be any function key you want and the abcdef may be any text you want. If you'd like to send a Tab key or Enter key, it looks like this:

Send abcdef{Tab}

Send abcdef{Enter}

or they may be strung together

Send abcdef{Tab}ghijk{Enter}

If you'd like to send other keys, the entire list is here:
http://ahkscript.org/docs/KeyList.htm

After creating the file, put a shortcut to it in your Startup group, so it runs at Windows start-up and will always be available to you. Regards, Joe

Update on 26-Jun-2015: I wrote an article about AutoHotkey that you may find helpful in getting this solution up-and-running:
AutoHotkey - Getting Started
Regards, Joe
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
smcsmc1Author Commented:
I've requested that this question be deleted for the following reason:

antiquated
0
Joe Winograd, Fellow&MVEDeveloperCommented:
I don't understand "antiquated" as a reason for deleting a question. The member asked a question and I gave a lengthy, comprehensive answer to it — an answer that I know for a fact works, because I use it myself frequently. I believe that my post is a correct answer to the question and deserves to be the Accepted Solution. Regards, Joe
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.