Hot Keyboard

macros for Windows

Automate Windows with macros
Main Download Purchase Support
<< Previous | Table Of Contents | Next >>

Edit Macro Dialog is the dialog used to modify a macro properties or to define a new macro.


Macro name - your name for the macro

Hot key - choose the hot key you want to use to execute this macro and press that key while the text cursor is blinking in this text box. This keypress will automatically be spelled out in this text box. To change it, simply press on another key combination.

Action type - select the type of action you want this macro to perform. Hot Keyboard supports many different action types, the full list of which can be found here.

Action parameters - contains macro's parameters which are specific to the selected macro type.

All macro types have several common options:

Execute if - determines whether a macro will be executed or not depending on the title of the currently active window.

    Always - this macro will be executed independently of the title of the currently active window

    Window title contains - this macro will be executed only if the active window's title contains user-defined string

    Window title doesn't contain - this macro will be executed only if the title of the active window does not contain user-defined string

Adv. - click this button to set advanced macro execution conditions described below.

Display balloon tips for this macro - if you check this option, Hot Keyboard displays a balloon tip with information related to the macro state each time this macro is executed. This option is available only for some macro types (Control Winamp, Sound volume control and Autoreplace text) and only under Windows 2000 or higher.

Protect this macro with password - check this option if you want the macro data to be encrypted and protected from unauthorized access. Each time Hot Keyboard is about to execute or edit the protected macro, it asks you for a password to unprotect it. Only some macro types can be protected. If you edit a macro that cannot be protected (e.g. the Control Winamp macro), this check box is hidden. You can read more about macro protection under Hot Keyboard Macro Protection topic.

Advanced macro execution conditions

When you click the Adv. button described above, the following macro execution conditions dialog is displayed:


The Window title condition group represents the same window title conditions as described above.

The Window class name condition group allows executing the macro only if the class name of the active window contains or does not contain the specified string (each window in the Windows world belongs to some window class; if you are unsure about class name of a window, Hot Keyboard lists currently available classes in the drop down list).

The Process name condition group allows the macro to be executed only if the process that created the currently active window has a name that contains or does not contain the given string. Using this condition group, you can create a macro that works only within one application - e.g. you may wish to pause and resume Windows Media Player by clicking the Space key. But its foreground window does not have a title when the player is switched to the full screen mode, so window title condition is inappropriate for this purpose.

All user-defined strings that are used to test the macro execution conditions may have multiple entries separated with semicolon ( ; ).

Variable condition - you can put an arithmetic expression here; when the macro is about to be executed, Hot Keyboard computes the expression and executes the macro only if the result of the computations is not equal to 0. To read more about arithmetic expressions supported by Hot Keyboard and their computation, please refer to the Modify a variable macro documentation.

If more than one condition is set for a macro (e.g. both the window title and the process name conditions are set), Hot Keyboard executes the macro only if all conditions are satisfied.


  • You can specify different window titles in Execute If by using a semicolon ( ; ) to separate them. For example, execute if window title contains "Microsoft Word;Explorer;Firefox".
<< Previous | Table Of Contents | Next >>

  © 1998-2020 Imposant