SAVE KEYS

From Recital Documentation Wiki
Revision as of 14:41, 23 October 2009 by Helengeorge (Talk | contribs)

Jump to: navigation, search


Purpose

Save hot key assignments to a memory variable


Syntax

SAVE KEYS TO <memvar>


See Also

CLEAR KEYS, ON KEY, RESTORE KEYS, SET KEY


Description

The SAVE KEYS command allows you to save hot key assignments to a memory variable. Any keys, except a-z and 0-9 may be assigned to procedures using the SET KEY or ON KEY commands. When a user presses this key, the assigned procedure executes. Keys used in this way are known as 'hot keys'. The <memvar> is the name of the memory variable to which currently active hot key assignments will be saved. The CLEAR KEYS command resets hot key assignments back to their default. The RESTORE KEYS command may be used to recall stored hot key assignments from the specified memory variable.


Example

set key -1 to helpfunc
save keys to m_hotkeys
clear keys
....
restore keys from m.m_hotkeys


Products

Recital Mirage Server, Recital Terminal Developer