Difference between revisions of "SAVE KEYS"

From Recital Documentation Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Keyboard Events
 
 
 
 
==Purpose==
 
==Purpose==
 
Save hot key assignments to a memory variable
 
Save hot key assignments to a memory variable
Line 30: Line 26:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:Keyboard Events]]
 +
[[Category:Keyboard Events Commands]]

Latest revision as of 16:34, 12 November 2009

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