Difference between revisions of "REPLAY"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Replay a keyboard macro
 
Replay a keyboard macro
Line 31: Line 29:
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Keyboard Events]]
 
[[Category:Keyboard Events]]
 
[[Category:Keyboard Events Commands]]
 
[[Category:Keyboard Events Commands]]

Latest revision as of 16:19, 12 November 2009

Purpose

Replay a keyboard macro


Syntax

REPLAY FROM <.kbm filename> | (<expC>)


See Also

&, MENU QUERY, SET CAPTURE, SET MACKEY


Description

The REPLAY command is used to replay a keyboard macro <.kbm filename>. The file name can be substituted with an <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is specified, '.kbm' is assumed. REPLAY works in conjunction with the SET CAPTURE TO command. SET CAPTURE TO initiates the capturing of all keys pressed at the keyboard to be stored in a keyboard macro file.

Everything typed, whether at the '>' prompt, or in a form or menu, is stored in the keyboard macro file. When keyboard capture is complete, the capture file can be closed by issuing the SET CAPTURE TO command without a <.kbm filename> specified. The REPLAY command then allows the keys to be played back. This is particularly useful for saving a session where you set up a report format, a table or similar file, or build a query using the MENU QUERY command.

As an alternative, keyboard macros can be initiated from within forms and menus by pressing the key sequence [^OC], then replayed by pressing the key sequence [^OR]. This allows you to store standard 'form filling' sequences and replay them when needed.


Example

set capture to mydbfkb
create mydbf
use
replay from mydbfkb


Products

Recital