Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I want to be able to either record key strokes or enter them in manually and be able to replay them.

For example:


  1. Manually highlight the text I want to copy.

  2. Ctrl+C

  3. Alt+Tab
    Manually position the cursor where I want to paste the text.

  4. Ctrl+V

  5. Alt+Shift+F10

  6. T

This would allow me to copy text into MS Word and set the formatting of the text.

Are there any tools for this?

share|improve this question

AutoHotKey can be used to make hotkeys that do what you want. It even has a recorder to ease the process of creating your script.

Here's a quick example I threw together based on what you're trying to do:

; The X, Y coordinates inside your target window to click for pasting
targetX = 0
targetY = 0

WinWait, Microsoft Word, 
    IfWinNotActive, Microsoft Word, , WinActivate, Microsoft Word, 
    WinWaitActive, Microsoft Word, 
    MouseClick, left,  %targetX%, %targetY%
    Sleep, 100

This script makes Ctrl + Alt + V a hotkey that executes the above script.

share|improve this answer

Check out AutoIt

share|improve this answer
Thanks. I will give it a try. – Jonathan Parker Jul 20 '09 at 3:02
I much prefer autoit for this sort of thing. It is a simple, but extremely powerful automation tool. On the other hand, how does this solve the OPs issue? Simply posting a link does not answer a question, please describe how this meets their needs. – MaQleod Jul 10 '12 at 21:52

You can automate anything with windows, it just depends on what your needs are and your skill level.

As recommended autoit is probably the entry level of a category of tools that leads up to full blown commercial automation tools which are primarily used for testing applications.

share|improve this answer

You can do basic macros (recorded keystrokes & delays) with a Logitech G15 keyboard.

share|improve this answer

I've been using Macro Express for this sort of thing for years.

Good software, never had an issue with it - not free though.

share|improve this answer

Your Answer


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.