<< Automatic Backup Feature | Table of Contents | Portable version >>

Initialization File

When Hot Keyboard is started, it tries to read the initialization file hk.ini that is located in the same folder where the Hot Keyboard executable file resides. Usually it is:

C:\Program Files\Hot Keyboard Pro\hk.ini

Currently the initialization file contains two parameters:

MacrosDir
defines full path where Hot Keyboard macros file is stored. If this parameter is not specified, the default location is used:

C:\Documents and Settings\<user>\Application Data\Hot Keyboard\
where <user> is your Windows user name.

SettingsDir
defines full path where Hot Keyboard settings are stored. If this parameter is not specified, Hot Keyboard stores its settings in the Windows registry under the following key:

HKEY_CURRENT_USER\Software\TB Labs\Hot Keyboard
When this parameter is specified, the settings are stored in the hk_settings.ini file.

It is possible to use Windows environment variables when specifying parameters in the hk.ini file. Environment variables must be used in the following form: %VARIABLE%, e.g. %TEMP%. Additionally one special environment variable is available:

%HKEXEDIR%
It contains path to the Hot Keyboard executable (including the trailing backslash). So, if you want Hot Keyboard to store all macros and settings in the same directory where Hot Keyboard executable resides, you may use the following hk.ini file:

MacrosDir = %HKEXEDIR%
SettingsDir = %HKEXEDIR%