Visualization > Commands > Define Key Sequences for Commands > Using a Hot Key

Using a Hot Key

A command defined with a 'hot' key executes immediately the key is pressed. You can only define a single key in the key sequence, and only use a 'hot' key to define commands that act on the current keyboard buffer (for example the Backspace and Delete keys). To define a 'hot' key, prefix the key sequence with an asterisk (*) as in the following example:

Key Sequence

*Backspace

Command

KeyBs()

At run time, this command operates in exactly the same way as the Backspace key on a standard computer keyboard. (Each time the Backspace key is pressed, the last key in the command line is removed.)

Note: You can only define a 'hot' key command as a system (global) command.

See Also

Published June 2018