KeyBinding Members (Word)
Represents a custom key assignment in the current context. The KeyBinding object is a member of the KeyBindings collection.
Methods
Name |
Description |
---|---|
Removes the specified key binding from the KeyBindings collection and resets a built-in command to its default key assignment. |
|
Removes the specified key combination if it is currently assigned to a command. After you use this method, the key combination has no effect. |
|
Runs the command associated with the specified key combination. |
|
Changes the command assigned to the specified key binding. |
Properties
Name |
Description |
---|---|
Returns an Application object that represents the Microsoft Word application. |
|
Returns the command assigned to the specified key combination. Read-only String. |
|
Returns the command parameter assigned to the specified shortcut key. Read-only String. |
|
Returns an Object that represents the storage location of the specified key binding. Read-only. |
|
Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. |
|
Returns the type of item assigned to the specified key binding. Read-only WdKeyCategory. |
|
Returns a unique number for the first key in the specified key binding. Read-only Long. |
|
Returns a unique number for the second key in the specified key binding. Read-only Long. |
|
Returns the key combination string for the specified keys (for example, CTRL+SHIFT+A). Read-only String. |
|
Returns an Object that represents the parent object of the specified KeyBinding object. |
|
True if you cannot change the specified key binding in the Customize Keyboard dialog box. Read-only Boolean. |