Setup Menus

7.To save the definitions, click OK to exit, then select Save Session As in the File menu, make sure the Soft Buttons box is checked, then click OK.

Key Combinations & Sequences

You can program a soft button to perform the function of a combination or sequence of keys. For example, you can cause a button to perform the same function as pressing the keys Alt + F4 together, or pressing the keys F2 then F3 then F4.

Keys are identified by their virtual key names as listed in the Virtual Key Names appendix. The virtual key name has to be enclosed by the < and > characters in the key definition text box. You may omit the VK_ and VT_ (etc.) parts of the virtual key name.

To program a soft button so that it performs the same function as pressing two or more other keys together, type the < character followed by the virtual key names linked together with + (plus sign) characters and ending with the > character.

For example, to program a button so that when it is pressed it performs the same function as pressing the keys Alt + F4 together, enter the following characters in the Command box:

<ALT+F4>

To program a button so that it performs the same function as pressing a sequence of keys one after the other, enter each virtual key name in the order required, enclosing each virtual key name with the < and > characters. Each enclosed virtual key name must immediately follow the previous enclosed virtual key name with no spaces. For example, to program the A key so that when it is pressed it performs the same function as pressing the keys F2 then F3 then F4 enter the following characters in the Command box:

<F2><F3><F4>

Specifying Characters

There are various ways in which you can specify a particular character. For example, the ESC character can be specified using any one of the following five entries:

_027

Decimal value (underscore character followed by a 3-digit number).

\033

Octal value (backslash character followed by a 3-digit number).

\u001B

Unicode value (backslash and u characters then unicode value).

^[

Control key value (^ represents the control key on the keyboard).

\e

Additional value for ESC.

 

 

The following 'backslash' values can be used:

 

 

 

\u

Unicode introducer

\r

Carriage return

 

\n

Line feed

\e

Escape

5-74