102Appendix 8 – Hotkey sequence codesThese codes are used when defining hotkey switching sequences (macros) forhost computers and allow you to include almost any of the special keys on thekeyboard.Permissible key pressesMain control keys (see ‘Using abbreviations’)Backspace | Tab | Return | Enter | Ctrl | Alt | Win | Shift | LShift | RShiftLCtrl | RCtrl | LAlt | AltGr | RAlt | LWin | RWin | Menu | Escape | SpaceCapsLock | NumLock | PrintScreen | ScrolllockMath operand keys (see ‘Using abbreviations’)Add (Plus) | Subtract (Minus) | MultiplyCentral control keys (see ‘Using abbreviations’)Insert | Delete | Home | End | PageUp | PageDownUp | Down | Left | Right | Print | PauseKeypad keys (see ‘Using abbreviations’)KP_Insert | KP_Delete | KP_Home | KP_End | KP_PageUpKP_PageDown | KP_Up | KP_Down | KP_Left | KP_Right | KP_EnterKP_Add | KP_Subtract | KP_Divide | KP_MultiplyKP_0 to KP_9Function keysF1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12ASCII charactersAll characters can be entered using their ASCII codes, from 32 to 126 (i.e. A,B,C,… 1,2,3 etc.) with the exception of the special characters ‘+’, ‘-’, ‘+–’ and ‘*’which have special meanings, as explained below.Codes with special meanings+ means press down the key that follows– means release the key that follows+– means press down and release the key that follows* means wait 250ms (note: if a number immediately follows the asterisk, thenthe delay will equal the number, in milliseconds)Note: Hotkey sequences are not case sensitive.Creating macro sequencesHot key macro sequences can be up to 256 characters long. All keys areassumed to be released at the end of a line, however, you can also determinethat a key is pressed and released within a sequence. Any of the following threeexamples will send a command that emulates and a press and release of theScroll Lock key:+SCROLL-SCROLL+-SCROLL+SCROLL-Example:+-SCROLL+-SCROLL+1+ENTERPress and release scroll twice, press 1 then enter then release all keys (equivalentdefinition is +SCROLL-SCROLL+SCROLL-SCROLL+1+ENTER-1-ENTER)Using abbreviationsTo reduce the length of the key definitions, any unique abbreviation for akey can be used. For example: “scroll”, “scr” and even “sc” all provide anidentifiable match for “ScrollLock” whereas “en” could not be used because itmight mean “Enter” or “End” (“ent” would be suitable for “Enter”).Note: Hotkey sequences and abbreviations are not case sensitive.For information about where to enter these codes, please see the sections Hostconfiguration or Keyboard control.