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

Using Windows 7, is there an in-built or third-party method of recording windows commands and being able to play them back?

As a very basic example of what I would like to be able to do, imagine having two desktop themes that you like to alternate between. The Windows commands would be something like

  • Open personalisation applet
  • select second theme
  • ok

(I'm calling this a macro because of the equivalent capability in Word.)

share|improve this question
up vote 10 down vote accepted

It sounds like you are looking for AutoHotKey:

AutoHotkey is a free, open-source utility for Windows. With it, you can:

  • Automate almost anything by sending keystrokes and mouse clicks. You can write a mouse or keyboard macro by hand or use the macro recorder.
  • Create hotkeys for keyboard, joystick, and mouse. Virtually any key, button, or combination can become a hotkey.
  • Expand abbreviations as you type them. For example, typing "btw" can automatically produce "by the way".
  • Create custom data-entry forms, user interfaces, and menu bars. See GUI for details.
  • Remap keys and buttons on your keyboard, joystick, and mouse.
  • Respond to signals from hand-held remote controls via the WinLIRC client script.
  • Run existing AutoIt v2 scripts and enhance them with new capabilities.
  • Convert any script into an EXE file that can be run on computers that don't have AutoHotkey installed.
share|improve this answer

AutoHotkey can record and play back macros, though it's usually easier just to write them in the AutoHotkey language in the first place.

There's also this new kid on the block automation solution for Windows:

share|improve this answer
+1 for Sikuli. Looks exciting, but haven't used it yet. – outsideblasts Feb 11 '10 at 7:10

I'd recommend Sikuli. Very interesting graphical way to script. I got it to work on Windows 7 without a problem. They have OS X and Linux versions.

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.