Record a macro of windows commands

All we need is an easy explanation of the problem, so here it is.

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.)

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

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.

Method 2

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: http://lifehacker.com/5459673/sikuli-automates-almost-anything-with-screenshot-ease

Method 3

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.

Method 4

I succesfully used autoit to automate detect hardware in win XP until keybord and mouse is detected. It seems that for simple quick tasks autohotkey is better. If you have some programming knowledge autoit is more structured and better for not so simple stuff. More info https://www.difference.wiki/autohotkey-vs-autoit/
And this post was useful to me: //autohotkey.com/board/topic/7019-autohotkey-vs-autoit/?p=44144
Autoit: https://www.autoitscript.com/site/autoit/

Method 5

I could have sworn there was a way to do this built in. I actually CAN do it, but only with my mouse. I haven’t been able to figure out how to do it with keyboard shortcuts. For my mouse, I just go into the "Microsoft Mouse and Keyboard Center" and it’s very simple to set things up for the mouse. I don’t know why there doesn’t seem to be anything about the keyboard in the "Mouse and Keyboard Center."

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply