Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to create either word or sentence (or both) keyboard shortcuts so that when you want to type a word, you can just do the shortcut and it pastes it into wherever you're typing? The idea is to be able to have shortcuts to paste boilerplate words or sentences into whatever application I'm typing in.

For example, my dad has trouble typing and say he typically types the word "photos" a lot. Is there a way to make it so that when he wants to type "photos", he can just do like Ctrl+P or some other shortcut so that "photos" is pasted into wherever he is typing?

This is not a question about MS Word or any text editing application, just in general. But if there are ways to customize MS Word or other apps, it would be nice to know how to do it :)

share|improve this question
2  
Look at the top answer for this question: superuser.com/questions/29254/automate-gui-tasks –  Oliver Salzburg Feb 17 '12 at 22:44

1 Answer 1

up vote 1 down vote accepted

As Oliver implied, you can use AutoHotkey. Creating keyboard shortcuts and sending keystrokes are of the most basic functions of AHK. So, assigning Ctrl+P to photos is as simple as:

^p::
Send, photos
return

Which translates to:

If P is pressed while Ctrl is down, simulate the following keystrokes: p, h, o, t, o, ands.

Note that you can send uppercase letters without explicitly sending a preceding Shift key:

Send, PHOTOS

is equivalent to

Send, {Shift Down}photos{Shift Up}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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