Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 7.0

Index

On this page

Add a hotkey definition to the product. If the product does not recognise the target value, then the target value will have no effect.

Declaration
Function Add(Value As Long, Target As Long) As IKeymanHotkey
Parameters
NoNameTypeDescription
1ValueLong The value of the hotkey. See tagKeymanKeyboardHotkey for hotkey specification.
2TargetLong The product-specific target value for the shortcut. Keyman Engine defines: khKeymanOff = 0; khKeyboardMenu = 1; khVisualKeyboard = 2; khKeymanConfiguration = 3;
Return Value
IKeymanHotkey
Example Code