Accelerator Key Constants

Constants representing common accelerator key names.

Comments

The Development Center provides a number of predefined constants. Some of these constants correspond to commonly used accelerator keys. Others are used in various Zim printing commands and functions. These constants are defined in the $DeployServices directory so this directory must be accessed before they can be used.

The constants that correspond to accelerator keys are

ShiftF1 to ShiftF12

that correspond to the key sequences Shift+F1 to Shift+F12.

CtrlF1 to CtrF12

that correspond to the key sequences Ctrl+F1 to Ctrl+F12.

AltF1 to AltF12

that correspond to the key sequences Alt+F1 to Alt+F12.

Alt0 to Alt9

that correspond to the key sequences Alt+0 to Alt+9.

AltA to AltZ

that correspond to the key sequences Alt+A to Alt+Z.

AltMinus and AltEqual

that correspond to Alt+– (hold down Alt and press the Minus key) and Alt++ (hold down Alt and press the Plus key).

CtrlTab and CtrlBackTab

that correspond to Ctrl+Tab (hold down Ctrl and press the Tab key) and Ctrl+BackTab.

 

Note: If you forget to ACCESS $DeployServices before executing or compiling a command such as WINDOW SET EXIT AltF1 ShiftF12, then Zim interprets "AltF1" and "ShiftF12" as strings and makes each character (i.e. "A", " l", "t", etc.) an accelerator key.