Maps a physical key to a logical key.
Scope: Global
Syntax
query key.PhysicalKeyName
set key.PhysicalKeyName LogicalKeyName
Options
PhysicalKeyName |
The name of the key that is pressed. | ||||||||||||||||||||||||||||||||||||||||||||||||
LogicalKeyName |
Your operating system may reserve
certain function keys or key combinations, such as F1,
for special purposes. With these exceptions, permitted
values for LogicalKeyName
are:
|
Description
The key parameter provides a simple way of remapping the keyboard. Pressing the key identified by PhysicalKeyName has the same effect as pressing the LogicalKeyname key.
Example
To assign the function of the home key to Ctrl+F4, type:
set key.c-f4 home
API Return Code
-2 |
The Editor could not find the specified PhysicalKeyName. |
![]()
action Parameter
keylist Parameter
