TIP: Click on subject to list as thread! ANSI
echo: qedit
to: HSIEH BC
from: GEORGE DE BRUIN
date: 1995-10-03 12:08:00
subject: Macros 1/2

 From | HSIEH BC
/---------------------------------------
> When I try to create a macro (using Macro Record) to insert, say, the
> words "FidoNet 6:600/641" into a message, the macro seems to have been
> saved. However, when I run Qedit again after exiting it, the macro would be
> gone. Can anyone advise me?
\---------------------------------------
   To | ALL
Hi Hsieh,
I hope this information in this Technical Tip message helps you in
working with macros in TSE Jr. (formerly QEdit).  The second section
"Saving the Macro" specifically addresses the information you are
looking for.
          A TSE Jr. Tip from the SemWare Technical Support Staff
                        .. QMac: The Basic's ..
        QMac is a translator of TSE Jr. macro files.  It translates TSE Jr.
        macros from the binary file in which TSE Jr. saves macros to a
        text file which allows easy macro editing, and translates such
        text files back into a TSE Jr. binary file.
        This allows you to "record" a macro using TSE Jr.; fine-tune it by
        editing the text representation of the macro; and then translate
        the edited version and reload it into TSE Jr. for replay.
        QMac allows appending to or overwriting existing files, making
        it easy to add new macros to existing files. QMac's text file
        format allows comments, permitting documentation of the macros
        within their "source file".
        To see a summary of QMac's operations, type "QMAC ?" at the DOS
        prompt and press Return.  All of the command line switches are
        optional and are only necessary to control QMac's operation in
        special ways.
        Here is quick run-through of what you can do with QMac,
        including recording a macro, saving it to disk, and converting
        it with QMac.  The keystrokes mentioned below assume you are
        using the default QCONFIG.DAT supplied with TSE Jr.; if you have
        re-installed your keyboard using QCONFIG, please modify as
        needed.
        Recording a Macro:
        ~~~~~~~~~~~~~~~~~
        1. From inside TSE Jr., select MacroRecord.  (Either hit 
        or select "Macro record" from the "Macro" menu in the pull-down
        menu system, by pressing ).
        2. At the prompt that says "Assign to what key:" press a key to
        redefine.  We will use 
        3. Press Find , type "the" and press Return, and type
        "IW" and press Return again.  (This is just an example of what
        you can do, you could of course record any legal series of TSE Jr.
        keystrokes here.)
        4. Select MacroRecord again to end the macro, like step 1 above.
        5. Now, you can press  to search for the word "the" in
        your text in just one step.
        Saving the Macro:
        ~~~~~~~~~~~~~~~~
        6. Let's write this macro to disk in a file that QMac can use.
        Select MacroWrite from the pull down menus, by pressing 
        then .
        7. Give it a filename of "FIND.MAC", and press Return to save
        this macro on disk.
        Converting the Macro to Text:
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        8. Press Dos  to send a command to MS-DOS. Type:
             QMAC FIND.MAC FIND.TXT /A- /T
        to convert FIND.MAC to a text form in the file FIND.TXT. Press
        Return.  (The /T selects text output).
        9. Press EditFile  to load this file into TSE Jr.. Type
        "FIND.TXT" to load the text file you just created with QMac.
        Press Return.  You should see something like this on the screen:
             * * Converted by QMAC from: C:\FIND.MAC * ^f10
             MacroBegin Find "the" Return "IW" Return
        Which is, of course, a text representation of the keystrokes you
        just recorded.
        10. You can now edit your macro if need be.  Let's change the
        word "the" to "and", and save the file back to disk by pressing
úÿ [ Continued In Next Message... ]
 -- SPEED 2.0h #10:
--- FidoPCB v1.4 [ff151/a]
---------------
* Origin: SemWare Support BBS * 404-641-8968 * (1:133/314)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.