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
SliceOmatic 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),
|
Key |
Mapped Command |
|
F1 F2 F3 F4 |
Color: Grey Color: Mixed Color: Over Color: Tag |
|
F5 ... F10 |
Brush: Current 1 ... Brush: Current 6 |
|
0 and PAD_0 ... 9 and PAD_9 |
Tag: Current 0 ... Tag: Current 9 |
|
PAD_PERIOD PAD_DELETE |
Tag: Grab |
|
SPACE |
Window: 0 Mode toggle |
|
CTRL_Z CTRL_Y |
Undo: Undo Undo: Redo |
|
|
Snapshot: Click |
|
= - |
$TAG_MIX = $TAG_MIX + 0.1 $TAG_MIX = $TAG_MIX - 0.1 |
|
g |
Grid: On toggle |
|
ENTER |
Flood: 2D toggle |
|
PAD_PLUS PAD_MINUS PAGE_UP PAGE_DOWN HOME END |
Frame: Scale inc Frame: Scale dec Frame: Current inc Frame: Current dec Frame: Parent inc Frame: Parent dec |
|
SHIFT_F5 SHIFT_F6 SHIFT_F7 SHIFT_F8 |
Overlay: File toggle Overlay: Name toggle Overlay: Patient toggle Overlay: Technical toggle |
|
SHIFT_F9 SHIFT_F10 SHIFT_F11 SHIFT_F12 |
Overlay: Global toggle Overlay: Local toggle Overlay: Box toggle Overlay: Slice toggle |
|
a s d |
Morpho: Line 0 Morpho: Line 1 Morpho: Line 2 |
|
q w e r |
Morpho: * Compute 1 Morpho: * Compute 2 Morpho: * Compute 3 Morpho: * Compute 4 |
|
ALT_D ALT_1 ALT_2 ALT_3 ALT_4 ALT_5 ALT_6 ALT_7 ALT_8 ALT_9 ALT_0 |
Debug: Database Debug: Filter toggle Debug: Gradient Amp toggle Debug: Gradient X toggle Debug: Gradient Y toggle Debug: Gradient Z toggle Debug: WS toggle Debug: Merge 1 toggle Debug: Merge 2 toggle Debug: Merge 3 toggle Debug: Merge 4 toggle |
Note:
|
|