Contents of the MACRO.DOC file
Macro-maker Macros v2.2
MACRO22.ZIP contains a series of txtfiles an macfiles to use with QEdit and
QMAC, the macro translator from SemWare.
To get started:
1. Load MACRO22.QM with QEdit. You will find a description of the macros, the
revision history, and the macros with comments. You may want to to save the
original copy and make a new copy with a different name. If you do the latter,
just replace MACRO22 below with the name of the new copy. Be sure the name
extension is QM.9
2. Change "G:\QE" to the drive:\directory where QMAC exist on you system. This
can be quickly done as follows:
enter your ram or active [drive]:\[directory] e.g. "C:\QEDIT"
3. My standard name for my standard macros, the macros I use all the time is
"macros.qm" and "macros.mac". Using the same procedure as in step 2, carefully
replace "macros" with the name of your standard macros, e.g. "standard" as
Y or N as prompted
4. Save file.
5. J:\ is my ram disk. A ram disk is not necessary but macros convert much
faster with a ram disk. Load all batch file in QEdit. As above, replace "J:",
not "J:\" with your ram disk, e.g. "D:".
If you do not have a ram disk, you may replace "J:" with any active drive on
your system, e.g. "C:". Temporary files j:\j, j:\$ and all files with prefix
"dum" will be on the ram disk when running these macros.
6. Save file.
7. "Shell" to Dos
8. Now make a macfile from MACRO22.QM as follows:
QMACB macro22 macro22 /B
8a. Read macfile MACRO22.MAC as follows:
You should now be ready to run any of the macros from MACRO22.QM.
9. Run ALT-1 macro first by pressing ALT and 1 as the same time. You should see
a window with the list of all available txtfiles in the directory you are in
with the file name extension "QM". If you don't, repeat step 3. If you do, move
the cursor down to MACRO22.QM and press Enter. You should now
have MACRO22.MAC loaded and ready to run more macros.
If your txtfiles do not have the file name extension "QM" and your macfiles do
not have the file name extension "MAC", I suggest you copy all your txtfiles
and macfiles with the following:
copy *.[your txtfiles extension] *.QM
copy *.[your macfiles extension] *.MAC
10. Run Alt-7 as above which will convert the txtfile you loaded to a macfile
named DUM.MAC, convert DUM.MAC to a txtfile DUM.QM, and then load the DUM.QM and
read DUM.MAC. Although the macfile named has changed, the macros in your macro
buffer should still be the same as before running this macro.
11. Run Alt-1 to see all the txtfiles in your directory. You should see a new
file DUM.QM. Select it and press Enter. If you don't, repeat step 2.
12. Run Alt-0 which will convert the txtfile DUM.QM to a macfile DUM.MAC.
This macfile DUM.MAC is read.
13. Run ALt-9 which will which does the same as step 12 but the macfile is not
14. Run Alt-3. Enter "ZERO.QM" at the prompt,then Enter. You should see ZERO.QM
at the end of DUM4.QM which is txtfile of the current active macros with ZERO.QM
appended to it.
15. Load ZERO.QM with ALT-1.
16. Run Alt-4 and you should see the txtfile ZERO.QM at the end of DUM3.QM which
is a txtfile of your standard macros with the ZERO.QM appended to it. DUM3.MAC
is a macfile of your standard macros with ZERO.MAC appended to it. DUM3.MAC has
Remember QEdit macro buffer is limited to 2046 (not 2048) bytes, so be careful
if your standard macros are large and you try to append large macros to them.
17. Run Alt-5 anytime after macros using QMAC have been run to load "J:J" in a
window showing any errors from QMAC. Press Enter to remove error window. (Please
note that j:j is also a temporary file used with Alt-t & Alt-n.). Macros using
an error window will automatically find the first error in the txtfile for easy
correction. You may test the error window by removing the asterisk at the end of
18. Load MACRO22.MAC with Alt-t.
19. Run Alt-8 to load the macfile MACRO22.MAC. This is not necessary but is just
a test of Alt-8.
21. Run Alt-t to select a macfile to read from a list of all available macfile
in your directory the most recent on top of the list.
22. Run Alt-n to select a macfile to read from a list of all available macfile
in your directory in alphabetical order.
23. Run Alt-2 to refresh the macro buffer with your standard macros. Remember
your standard macros do not yet have any of the macros in MACRO22 appended to
I suggest you practice using MACRO22 before adding macros to your standard
macros. The large macros are 200-300 bytes each and the small ones are less than
Practice using Alt-7 & 9 to make separate macros by cutting each macro to a
SEPARATE macro. Alt-t or n will then show the size of each macro. If you can do
this, you are well on your way to understanding and using these macros to make
QEdit and QMAC are powerful editing tools. I hope these macros help.
Just a comment about the need for Norton DS (Disk Sort). Dos directory listings
with DIR do not have the time in international format 00:00:00 but instead are
in the format 00:00a and 00:00p. I'm sure there must be some way to sort a Dir
listing by date/time but I have not found one. If anybody knows, please let me
Vernon Buerg's good and fast sort utility SORTF is used to sort a DIR listing by
name. It's available almost everywhere and is free.
...Tom Hogshead Thu 07-19-1990 16:05:11