From: Roger Bond Subj: ZDE Macro Keys Date: January 12, 1991 This is my set of ZDE macro keys. Most of them are derived or directly from the SAMPKEY files found in ZDE16.LBR. But the one macro key that is prompting me to distribute this .LBR is my Macro Key 0 which both softens a hard-carriaged paragraph and then reformats the paragraph. SAMPKEY had a Soften key, but it did not reformat the file -- you had to use another macro key to reformat the file. I educated myself a little in how to write VDE/ZDE macros and made the new macro to both soften and reformat a hard-carriaged paragraph. To install, use the command: ZDENSTAL ZDE ZDEMACRO.ZDK MACRO 1 - HELP MESSAGE (1=Help) Macro Text: n^OX^QE^QS^N^N1=Help 2=Scan 3=SenBg 4=ParBg 5=SwCh< 6=SwWd< 7=SwCh> 8=Quote 9=Reform 0=Soft ^[;^[;^[;^[;^Y^Y^QP^OX Purpose: Briefly displays help message at top of screen. MACRO 2 - SCAN/BROWSE THROUGH FILE (2=Scan) Macro Text: n^[;^C^[![ Purpose: Move through file a screen at a time. Press ESC to stop. MACRO 3 - MOVE TO START OF SENTENCE (3=SenBg) Macro Text: q^[~.1^S^[1^[~.<^[2^D^[= 2^[=^M2 Purpose: Moves the cursor to the beginning of the sentance the cursor is currently on. MACRO 4 - MOVE TO START OF PARAGRAP (4=ParBg) Macro Text: q^QS^S^S^[= [^D^D Purpose: Moves the cursor to the beginning of the paragraph the cursor is currently on. MACRO 5 - SWAP CURRENT CHARACTER WITH PREVIOUS CHARACTER (5=SwCh<) Macro Text: q^S^G^D^U^U^D^G^S^S Purpose: Swaps the current character the cursor is on with the previous character. Useful for catching typos. MACRO 6 - SWAP CURRENT WORD WITH PREVIOUS WORD (6=SwWd<) Macro Text: q^KK^A^KB^F^F^KV Purpose: Swaps the current word the cursor is on with the previous word. MACRO 7 - SWAP CURRENT CHARACTER WITH NEXT CHARACTER (7=SwCh>) Macro Text: q^KB^D^KK^D^KV Purpose: Swaps the current character the cursor is on with the next character. Useful for catching typos. MACRO 8 - QUOTE A SECTION OF TEXT (8=Quote) Macro Text: q^V^QS^[1^[=^M]>^X^QS^[!1 Purpose: Quotes a section of text in BBS style where a ">" character is placed at the beginning of each line of the quoted paragraph. For example: >This is a quoted section from a previously posted BBS message >that I quoting in a message I am currently posting. MACRO 9 - REFORM AND RETURN (9=Reform) Macro Text: q^B^QP Purpose: Reformat beginning with the line the cursor is on and return cursor to current location. Useful when revising text in the middle of a paragraph. MACRO 0 - SOFTEN PARAGRAPH AND REFORMAT PARAGRAPH (0=Soft) Macro Text: q^PZ^[1^QS^X^[=^M2^S^V ^V^D^[!1^[2^QZ^S^G^B Purpose: "Softens" Hard Carriage Returns from the line the cursor is on to the end of the paragraph and then reformats the paragraph. Be sure to place the cursor at the beginning of the paragraph to soften and reformat the whole paragraph.