You can assign a command or a macro to a keyboard key. The mechanism to assign a command to a key is:
Key: name Map script_command
Where "name" is the key's name.
Key Names
Here is a list of the available key names. Note that the names are case sensitive, so "SHIFT_ENTER" is valid while "Shift_Enter" is not.
Normal keyboard keys:
Key |
Shift + Key |
Alt + Key |
Ctrl + Key |
a ... z |
A ... Z |
ALT_A ... ALT_Z |
CTRL_A ... CTRL_Z |
0 ... 9 |
SHIFT_0 ... SHIFT_9 |
ALT_0 ... ALT_9 |
CTRL_0 ... CTRL_9 |
ENTER |
SHIFT_ENTER |
ALT_ENTER |
CTRL_ENTER |
BACKSPACE |
SHIFT_BACKSPACE |
ALT_BACKSPACE |
CTRL_BACKSPACE |
TAB |
SHIFT_TAB |
ALT_TAB |
CTRL_TAB |
Normal keyboard keys that do not have "Shift", "Alt or "Ctrl" variations:
Key |
|||||
` |
~ |
! |
@ |
# |
$ |
^ |
& |
* |
( |
) |
- |
_ |
= |
+ |
[ |
{ |
] |
} |
\ |
| |
; |
: |
' |
" |
, |
< |
. |
> |
/ |
? |
SPACE |
Arrow and Center keys:
Key |
Shift + Key |
Alt + Key |
Ctrl + Key |
|
SHIFT_PRINT |
ALT_PRINT |
CTRL_PRINT |
UP |
SHIFT_UP |
ALT_UP |
CTRL_UP |
DOWN |
SHIFT_DOWN |
ALT_DOWN |
CTRL_DOWN |
LEFT |
SHIFT_LEFT |
ALT_LEFT |
CTRL_LEFT |
RIGHT |
SHIFT_RIGHT |
ALT_RIGHT |
CTRL_RIGHT |
INSERT |
SHIFT_INSERT |
ALT_INSERT |
CTRL_INSERT |
HOME |
SHIFT_HOME |
ALT_HOME |
CTRL_HOME |
PAGE_UP |
SHIFT_PAGE_UP |
ALT_PAGE_UP |
CTRL_PAGE_UP |
DELETE |
SHIFT_DELETE |
ALT_DELETE |
CTRL_DELETE |
END |
SHIFT_END |
ALT_END |
CTRL_END |
PAGE_DOWN |
SHIFT_PAGE_DOWN |
ALT_PAGE_DOWN |
CTRL_PAGE_DOWN |
Key Pad keys:
Key |
Shift + Key |
Alt + Key |
Ctrl + Key |
PAD_DIVIDE |
SHIFT_PAD_DIVIDE |
ALT_PAD_DIVIDE |
CTRL_PAD_DIVIDE |
PAD_MULTIPLY |
SHIFT_PAD_MULTIPLY |
ALT_PAD_MULTIPLY |
CTRL_PAD_MULTIPLY |
PAD_DELETE |
SHIFT_PAD_DELETE |
ALT_PAD_DELETE |
CTRL_PAD_DELETE |
PAD_MINUS |
SHIFT_PAD_MINUS |
ALT_PAD_MINUS |
CTRL_PAD_MINUS |
PAD_PLUS |
SHIFT_PAD_PLUS |
ALT_PAD_PLUS |
CTRL_PAD_PLUS |
PAD_PERIOD |
SHIFT_PAD_PERIOD |
ALT_PAD_PERIOD |
CTRL_PAD_PERIOD |
PAD_0 ... PAD_9 |
SHIFT_PAD_0 ... SHIFT_PAD_9 |
ALT_PAD_0 ... ALT_PAD_9 |
CTRL_PAD_0 ... CTRL_PAD_9 |
PAD_ENTER |
SHIFT_PAD_ENTER |
ALT_PAD_ENTER |
CTRL_PAD_ENTER |
F keys:
Key |
Shift + Key |
Alt + Key |
Ctrl + Key |
F1 ... F12 |
SHIFT_F1 ... SHIFT_F12 |
ALT_F1 ... ALT_F12 |
CTRL_F1 ... CTRL_F12 |
Keys already mapped
Baby SliceO makes extensive use of the key mapping. Here's the list of keys that are already mapped for you. (You can also get this list with the "key: list" command),
Note: