Difference between revisions of "RESTORE KEYS"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=RESTORE KEYS=
 
 
 
==Class==
 
Keyboard Events
 
 
 
 
==Purpose==
 
==Purpose==
 
Restore saved hot key assignments
 
Restore saved hot key assignments
Line 33: 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:23, 12 November 2009

Purpose

Restore saved hot key assignments


Syntax

RESTORE KEYS FROM <memvar>


See Also

CLEAR KEYS, ON KEY, SAVE KEYS, SET KEY


Description

The RESTORE KEYS command reinstates hot key assignments that were previously saved with the SAVE KEYS command. The SAVE KEYS command allows you to save hot key assignments to a memory variable. Any keys except a-z or 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 the hot key assignments were saved, and from which they will be restored. To reset the hot key assignments back to default, use the CLEAR KEYS command.


Example

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


Products

Recital