<< Shell Integration | Table of Contents | Automatic Backup Feature >>

Command Line Parameters

Hot Keyboard supports the following command line parameters (each command line parameter should be double quoted if it contains spaces):

-minimized

Hot Keyboard will be run minimized, i.e. the main Hot Keyboard dialog will not be displayed.

-setupwizard

Hot Keyboard Setup Wizard will be run.

-notray

There will be no Hot Keyboard icon in the system tray. This makes Hot Keyboard almost invisible for the user.

-export <filename> [<menuname>]

Exports macros from Hot Keyboard. <filename> is the name of the file where the macros will be exported to. <menuname> is the name of the menu the macros will be exported from. If the <menuname> is not specified, the root menu is assumed.

-import <filename> <overwrite_options>

Imports into Hot Keyboard macros that were exported before. <filename> is the name of the file to import macros from. <overwrite_options> is the char that defines the macros overwrite policy (when there already is a macro with the same name and the same action type): o means overwrite, a means append, anything else - prompt the user what to do.

Example:

HotKeyb.exe -import "c:\my macros\macro1.hkb" a

-license <filename>

Process license file <filename>.

-backup <filename>

Backup current Hot Keyboard state (this means to save all Hot Keyboard macros, including network and shared macros and all other Hot Keyboard settings) to the file <filename>.

-restore <filename> [<overwrite_options>]

Restore Hot Keyboard state. The <filename> is the name of the file that was created with the "-backup" command and which contains Hot Keyboard state to be restored. <overwrite_options> defines the macro overwrite policy and what Hot Keyboard should do with the existing macros.

<overwrite_options> consists of 3 chars. The first char determines the overwrite policy and can be o (overwrite), n (do not overwrite), a (append) or p (prompt the user).

The second char determines what to do with existing user macros and can be o (delete all existing macros), n (keep all existing macros) and p (prompt the user).

The third char determines what to do with network shared macros and it can be o (delete all network shared macros), n (keep all shared macros), c (do not restore the network shared macros) and p (ask the user).

Please note that you should have the write permissions on server to manipulate with the network shared macros, otherwise specify "c" (do not restore) when executing the restore command.

If no overwrite option is specified, Hot Keyboard will ask the user every time it needs to.

Example:

HotKeyb.exe -restore "c:\archive\my.hkbackup" ooo

-runmacro <macroname>

Run the <macroname> macro. If the desired macro is not located in the Hot Keyboard root macro, the full path to the macro should be specified (menu names should be separated with the backslash character), e.g.:

HotKeyb.exe -runmacro "winamp next"

HotKeyb.exe -runmacro "media\sound mute"

-runmacrowait <macroname>

The same as previous, but Hot Keyboard does not return control to a command-line application or a batch file where it was called from until the specified macro is competely executed.