<KeyboardAccelerator> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » KeyboardAccelerator

Function Members

Function members are as follows:

Return Type Function Name Documentation
static stringGetAcceleratorCodeReturns a string that contains a hexadecimal code for a keyboard accelerator.
static stringGetAcceleratorStringReturns a string that contains a human-readable accelerator code such as CTRL + C.
static int32GetKeyboardKeyNamesPopulates a <StrList> object with human-readable keyboard key names such as Backspace, Caps Lock, and Page Down.
static int32GetKeyboardKeyValuesPopulates an <Int32Array> object with keyboard key codes such as 0x08, 0x09, and 0x0D, that correspond to keys on the keyboard. Many of these can be found in winuser.h. For example: winuser.h defines '#define VK_TAB 0x09' for the Tab key.
static int32GetKeyboardModifierNamesPopulates a <StrList> with keyboard modifier names. The complete list is as follows: None, Shift, Ctrl, and Alt.
static int32GetKeyboardModifierValuesPopulates an <Int32Array> object with keyboard modifier codes such as 0x10, 0x11, and 0x12, that correspond to keys on the keyboard. Many of these can be found in winuser.h. For example: winuser.h defines '#define VK_MENU 0x12' for the Alt key.
static int32UnpackAcceleratorUnpacks a hexadecimal keyboard accelerator value into its components and adds them to a <Uint16Array>.