Keyboard Support

Contact and Search Homepage

Header bottom

Other versions
Version 17.0 (home page)Version 16.0 (home page, current version)Version 15.0 (home page)Version 14.0 (home page)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 9.0 (home page)Version 8.0Version 7.0 (home page)Version 6.0 (home page)Version 5.0 (home page)Version 4.0 (home page)


On this page

Hotkey store and HOTKEY statement

store( &hotkey ) "%tsHotKey%"

HOTKEY "%tsHotKey%"

The HOTKEY statement specifies the hotkey that Keyman will use to turn the keyboard on. When this hotkey is pressed, any active keyboard will be turned off and the new keyboard will be turned on. The hotkey must be enclosed in quotes.

The hotkey can be any letter key, with any combination of the Shift, Control and Alt keys also pressed. The specification of the HOTKEY statement follows the Microsoft standard for hotkeys in Windows. Inside a double-quoted string, you can combine the letter key with special characters to identify the shift state:

To combine with Precede the letter by
Shift + (plus sign)
Ctrl ^ (caret sign)
Alt % (percent sign)

The hotkey can also be in Virtual Key format, so that you can use any key on the keyboard. This statement is optional.

store( &hotkey ) "^+A"                   c Ctrl+Shift+A
store( &hotkey ) "[Alt Shift K_PAUSE]"   c Alt+Shift+Pause

The virtual key hotkey functionality was introduced in Keyman 3.1.

Related Topics