Using CitectSCADA > Defining and Drawing Graphics Pages > Defining Commands and Controls > 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, to correct typing errors. (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