[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: XPL in Xy4 [was RE: Nota Bene]



Reply to note from "J. R. Fox"  Fri, 24 Aug 2001
15:29:56 -0800

>> All Purpose Record-Keystrokes (RK) Utility
>>
>> RKOK does everything but record keystroke macros; for that, you
>> need a KBD assignment, e.g. "nn=XHRK".
>
> Not sure I follow the distinction. Isn't recording keystroke
> macros the whole purpose of this frame ? (To record them such
> that they can be played back.) Perhaps a simple example would
> clarify this . . . ?

Sure. Use func RK (assigned to a key) to begin and end the *recording*
of keystrokes. (Func RK, as you may know, is a toggle. Hit it once to
begin recording; hit it again to stop recording, signaled by a "Done"
prompt.) Keystrokes are stored, as XPL code, in a memory buffer.

Use RKOK *after* you're done recording. RKOK gives access to the
keystroke buffer in various ways, depending on the mnemonic argument you
supply, i.e.: (S)aves or (A)ppends recorded keystrokes to a file
(RKOK.SAV), opens the keystroke file for (E)diting, (F)ixes improperly
encoded carriage returns (to work around a bug in func RK), (L)oads the
keystroke code to a Save/Get, e(X)ecutes the recorded keystrokes, or
(C)lears the keystroke buffer and file.

To be sure, all of these operations can be performed manually, with
various native commands. RKOK pulls them all together under a single
rubric with easy-to-remember parameters.

--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/