Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 19.0Version 18.0 (current version)Version 14.0Version 10.0

On this page

You are viewing an old version of this documentation. Click here to open the current version, 18.0.

IKeymanHotkey::Target Property


Introduction

The IKeymanHotkey::Target property returns the target of the hotkey. For a hotkey associated with a keyboard, this will always be khKeyboard.

Specification

readonly KeymanHotkeyTarget Target

Target Values

Value Target Notes
0 khKeymanOff Switches to first Windows keyboard which is not a Keyman keyboard
1 khKeyboardMenu Opens the Keyman keyboard menu from the notification area
2 khVisualKeyboard Opens the On Screen Keyboard page in the on screen keyboard. If the On Screen Keyboard page is already visible, closes the on screen keyboard
3 khKeymanConfiguration Opens Keyman Configuration
4 khKeyboardUsage Deprecated. Has no effect in Keyman 14 and later versions.
5 khFontHelper Opens the Font Helper page in the on screen keyboard. If the Font Helper page is already visible, closes the on screen keyboard
6 khCharacterMap Opens the Character Map page in the on screen keyboard. If the Character Map page is already visible, closes the on screen keyboard
7 khTextEditor Opens the Keyman Text Editor
8 khLanguageSwitch Opens the Language Switcher
9 khKeyboard Selects or Toggles the keyboard associated with the hotkey.