Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 79
  • Last Modified:

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
0
smcsmc1
Asked:
smcsmc1
  • 2
1 Solution
 
Joe Winograd, EE MVE 2015&2016DeveloperCommented:
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
 
smcsmc1Author Commented:
I've requested that this question be deleted for the following reason:

antiquated
0
 
Joe Winograd, EE MVE 2015&2016DeveloperCommented:
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now