home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
WP
/
WP022A.ZIP
/
MANUAL
< prev
next >
Wrap
Text File
|
1990-01-08
|
33KB
|
948 lines
PC-WRITE MACROS
by Mark Shepard
Version 1.3
January 15, 1990
Copyright 1989,1990 Simple Productions
Simple Productions
12 East 15th St. #3
Arcata, California 95521 USA
707-822-3148
PC-Write and Quicksoft are registered trademarks of Quicksoft.
PC-Write Macros 2
CONTENTS
PART 1--INTRODUCTION
ABOUT PC-WRITE MACROS 3
ABOUT SHAREWARE 4
ABOUT YOUR DISK 4
PART 2--USING PC-WRITE MACROS
HOW TO INSTALL YOUR MACROS 5
WHERE TO PLACE YOUR MACROS 7
PART 3--THE MACROS
SETTINGS 8
SCROLL AND SCREEN MACROS 9
CURSOR MOVE MACROS 10
DELETE MACROS 10
SWAP MACROS 12
MARK MACROS 13
PAGE FORMAT MACROS 14
CORRESPONDENCE MACROS 14
MISCELLANEOUS MACROS 16
PC-Write Macros 3
PART 1--INTRODUCTION
ABOUT PC-WRITE MACROS
PC-Write Macros offers 100 special commands for the popular
word processing program PC-Write, and helps you place them on the
keys of your choice. It provides greater power and convenience,
with many commands not found in PC-Write or any other word
processor.
With PC-Write Macros, you can
-- "Grab" an address block from a letter and print it on an
envelope in your laser, dot-matrix, or daisy-wheel printer.
-- Reverse the video on your monochrome or single-color
display so it shows dark text on a light background.
-- Travel through your document by overlapping screens,
always with a complete paragraph on top.
-- Set up margins, ruler, and spacing, all in an instant.
-- Mark, delete, or transpose an entire sentence or
paragraph with a single keystroke.
-- Store deleted text in a special file, ready for retrieval
at any time.
-- Begin continuous printing with one keystroke.
-- And much, much more!
PC-Write Macros works with PC-Write 3.0.
Here's what registered users say about PC-Write Macros:
"I use PC-Write heavily, and (PC-Write Macros) will make it
much quicker and easier." Rev. W. M. Childress
"Very useful--very creative macros." Jim Guenzel
"My testing of (your macros) proves their excellence. You
are to be congratulated for a very fine job." Fred Cooper,
retired accountant
"Your manual is clear, concise, and easy to follow." John
C. Daenzer, warehouse manager
PC-Write Macros 4
ABOUT SHAREWARE
PC-Write Macros is shareware. In our case, this means:
1. We urge you to make copies of PC-Write Macros for others
who might like to try it. Please do not leave out files, remove
documentation, or change the macros. There are no other
restrictions.
2. If your shareware copy of PC-Write Macros proves useful,
please register by sending $5. This pays for your use of PC-Write
Macros. It also brings you
-- Technical support by mail or phone.
-- Notice of major updates.
-- News of our other special products for PC-Write users.
Disks that you purchase direct from Simple Productions are
already registered. ("Free trial disks" are NOT registered.)
Companies and institutions must register for each station at
which PC-Write Macros will be used.
To register, please use the form at the end of this
document. All foreign payments must be in US$, by international
postal money order or similar.
We can provide technical support only for our own products.
Quicksoft provides excellent and inexpensive support for PC-Write
itself. All phone support is at your expense. Please call at
reasonable hours.
ABOUT YOUR DISK
The simplest way to print this Manual continuously: Turn on
your printer and put your PC-Write Macros disk in drive A. At the
A> prompt, type
MANUAL
followed by RETURN (ENTER). This will print the file MANUAL.
You can also print the file using PC-Write, if you use
PC-Write's default page layout settings, with no left margin.
Here is a list of files:
README Quick intro
GO.BAT Batch file to display README
MANUAL Documentation and registration form
MANUAL.BAT Batch file to print MANUAL
1 thru 100 Numbered macro files
PC-Write Macros 5
PART 2--USING PC-WRITE MACROS
HOW TO INSTALL YOUR MACROS
In this Manual, macros are listed like so:
29. Paragraph End
This is for a macro to move your cursor to the end of a
paragraph. (A macro is described following its listing.)
"Paragraph End" is the title of the macro. The number 29 is the
listing number AND the name of the file that contains the macro.
To install a macro, use PC-Write to call up the file ED.DEF.
This is on your PC-Write workdisk or in your working directory,
along with your other PC-Write program files. If you don't find
it there, you can copy it from PC-Write's program disk, or just
create a file of that name.
PC-Write "reads" ED.DEF whenever you start the program. The
default ruler is stored there. And this is where macros can be
installed so PC-Write reads them automatically at startup.
_________________________________________________________________
NOTE: If you are using our PC-Write enhancement program, Writer's
Heaven, you can instead place your macros in the Writer's Heaven
control file--HVN, HEAVEN, or HVN.DEF, depending on your version.
This prevents Writer's Heaven from overriding your macros on the
letter keys.
_________________________________________________________________
Place your cursor at the beginning of a new, blank line at
the bottom of the file. Check that the Status Line says "Push"
for Pushright. If it instead says "Over," toggle with ScrollLck.
Now turn off Auto-reformatting and Wordwrap by pressing Shift-F7
until the Status Line says "Wrap-".
Press Ctrl-F3, to import a file. At the top-line prompt,
type the drive location of your PC-Write Macros disk, and the
number of the macro you wish to install. For instance, if your
PC-Write Macros disk is in drive B, and you want to install the
macro shown above, type
B:29
(If you have only one drive, you can safely swap your PC-Write
workdisk with the PC-Write Macros disk. But you must swap them
back before saving the file.)
Press RETURN (ENTER), then F5 to clear the marking. You will
see your macro in the following form.
:558,707,374,371,371,335,371,335,371,335,371,335
(: Paragraph End)
The first line defines the macro operation by PC-Write
operation codes. (Some macro definitions take more than one
line.) The bottom line is a "comment," identifying the macro for
your own reference.
PC-Write Macros 6
At this point, you are ready to assign the macro to the key
of your choice. You can either pick a key that currently does
nothing, or else change what a key does. (The next section
discusses your choices in detail.)
For your reference, add the name of your chosen key to the
comment line. Type it in with your cursor on the colon.
The next step is to insert the code for your chosen key at
the beginning of the macro. You can look up this key code in the
PC-Write User's Guide appendix, or you can insert it
automatically with PC-Write's Numbers Mode.
To use Numbers Mode, place your cursor on the beginning
colon. Press Ctrl-6 (top row) to start Numbers Mode. Next press
the key you have chosen for your macro. The correct key code will
appear in place. (If no code appears, it means no macro can be
assigned to that key.) End Numbers Mode by pressing Ctrl-6 again.
For example, if you assigned the Paragraph End macro to
Alt-1, it would look as below. (The extra space in front is
inserted by Numbers Mode, but doesn't matter.)
376:558,707,374,371,371,335,371,335,371,335,371,335
(Alt-1: Paragraph End)
You can now save the file and exit with F1, F2. Your macro
will be ready the next time, and every time, you use PC-Write.
Note: If you want to use the macro right away, without
exiting, save the file with F1, F3, then ask PC-Write to read it,
with F2, F6. If you switch to another file, remember to restore
Auto-reformatting (Para+) or Wordwrap (Wrap+) with Shft-F7.
Here again are the simple steps for installing a macro:
1. Edit the PC-Write file ED.DEF. Make sure you are in
Pushright mode, with Auto-reformatting and Wordwrap turned off.
2. With your cursor on a new line at the bottom of the file,
use Ctrl-F3 to import the numbered macro file.
3. Add the key name to the comment line, then insert the key
code in front of the macro with Numbers Mode (Ctrl-6).
For advanced users, PC-Write Macros, Vol. 2, offers an
alternate method of installing macros. See the section, "Macros
for Macros."
Alongside our macros, we include a selection of PC-Write
program settings. These are imported into ED.DEF just like
macros, but you don't assign them--they are complete in
themselves. Also, some of our macros are preassigned--for
instance, if two keys are switched. Here again, you don't need to
add anything.
PC-Write Macros 7
WHERE TO PLACE YOUR MACROS
Here are some of the keys you might or might not like to
assign macros to.
CTRL-LETTER KEYS. The letter keys with Control (Ctrl-A,
Ctrl-B, etc.) are presently set up to imitate Wordstar. Since
they duplicate the standard PC-Write command keys, these are good
keys to reassign.
ALT-LETTER KEYS. You CAN reassign letter keys with Alt
(Alt-A, Alt-B, etc.), but this involves technical difficulties
and complications beyond the scope of this documentation. We
recommend you DO NOT reassign these keys.
OTHER SHIFTED LETTER KEYS. You can reassign the letter keys
with Shift-Control and Shift-Alt, assuming you don't need their
box-drawing functions. (Boxes can also be drawn with the Ctrl-F9
menu.) The letter keys with Control-Alt are empty and ready to
assign. On some computers, these keys may not be available.
TOP-ROW NUMBER KEYS. The top-row number keys with Control
cannot be assigned. But these keys with Alt (Alt-1, Alt-2, etc.)
duplicate the function keys with Alt (Alt-F1, etc.)--so they are
good to reassign. Also, these keys with Shift-Alt and Control-Alt
are empty and available.
FUNCTION KEYS. Some function keys with Shift, Control, or
Alt are unassigned, but later versions of PC-Write will probably
fill them in. However, the function keys with Shft-Ctrl, Shft-
Alt, and Shft-Ctrl-Alt are free--except for Shft-Ctrl-F5 and
Shft-Ctrl-F6, which you may not need.
OTHER. Most of the punctuation keys with Control cannot be
assigned. "Named" keys (like Backspace and NumLock) are filled--
though you can change them if you like. Extended keyboards
provide many more assignable keys, as described in PC-Write
documentation. Additional keys may become available for PC-Write
macros if you've loaded a macro program like Newkey or Superkey.
To check for yourself whether a key can be assigned, turn on
Numbers Mode by pressing Ctrl-6 (top row), then press the key in
question. Any key producing a key code can be assigned--though it
may already have a use. Also, keys are listed alphabetically with
their key codes and functions in the PC-Write User's Guide
appendix.
You now know enough to use PC-Write Macros. But, to explore
PC-Write's customization capabilities in full--or to successfully
modify our macros--you'll want to read the PC-Write User's Guide.
For instance, you could convert our macros into "two-key"
commands--commands given by pressing and releasing first one key,
then another. Creating sets of two-key commands is a good way to
group macros for efficient key use and logic. Find the details in
the PC-Write User's Guide.
PC-Write Macros 8
PART 3--THE MACROS
SETTINGS
Most of these first customizing commands aren't exactly "macros"
at all. They don't need assigning--just add them to ED.DEF.
1. Reverse Video
Reverses the video on your monochrome or single-color monitor to
display dark text on a light background. You'll want to turn down
your monitor brightness.
2. Reminder to Save
3. Automatic Save
The first command sets a reminder to save your file every ten
minutes. (For a different time, change the number after the
colon.) The second instead saves your file automatically.
4. Set Hide Mode
5. Set Auto-reformatting
6. Set Spelling Check
7. Set Hide Mode, Automatic Reformat, and Spelling Check
These set edit modes automatically on startup--Hide Mode, Auto-
Reformatting, and/or Spelling Check. Only one such command line
is allowed, but you can combine them as in the final command.
These are "pre-assigned macros"--you don't need to add anything.
8. Fast Cursor (extended keyboard)
9. CapsLock/Ctrl Switch (extended keyboard)
These are only for extended keyboards. The first about doubles
your cursor speed. (A smaller number speeds it up, a higher
number slows it down.) The second one switches CapsLock with the
right Control key, making it easier to finger Ctrl-letters. We
cannot guarantee that these PC-Write command lines will work with
your system.
PC-Write Macros 9
SCROLL AND SCREEN MACROS
10. Editor's Screen
This is our favorite macro here. It moves you forward in the
document by overlapping screens. The first new line for viewing
is marked by the cursor, while the entire paragraph it appears in
is on the screen. Execution is instant. On our keyboard, we've
placed it on Shft-Keypad-5 for easy, one-handed operation.
11. Scroll-and-Stay, Up
12. Scroll-and-Stay, Down
These scroll the display past a stationary cursor. They save you
having to "retrieve" the cursor from the screen top or bottom.
These may not always work smoothly on slow computers.
13. Scroll Left
14. Scroll Right
These scroll the screen horizontally. (The commands are normally
available in PC-Write only with an extended keyboard.)
15. Half-Screen Scroll, Up
16. Half-Screen Scroll, Down
These scroll by half a screen. Execution is instant.
17. Half-Screen Scroll-and-Stay, Up
18. Half-Screen Scroll-and-Stay, Down
Same as the previous two, except the cursor remains stationary.
19. Go Back
You probably didn't know PC-Write lets you return to your place
if you accidentally jump elsewhere in the document--most of the
time. Normally, the command is Shft-Ctrl-END, but you may want to
make it handier with this macro.
PC-Write Macros 10
CURSOR MOVE MACROS
20. Half-Screen Left
21. Half-Screen Right
22. Half-Screen Up
23. Half-Screen Down
These move the cursor half a screen in each direction, instantly.
You can change the travel distance by subtracting or adding the
repeated cursor movement codes.
24. Line Left
This ALWAYS moves the cursor to the very beginning of a line
(column 1)--even when HOME and Shft-LEFT-ARROW don't.
25. Text Line Left
26. Text Line Right
These move the cursor, backward or forward in the document, to
the first word of a line. Unlike HOME and END, they can be
repeated to move from line to line. Good for lists.
27. Sentence Left
28. Sentence Right
These move the cursor, backward or forward, to a sentence's very
beginning--unlike Shft-Ctrl-LEFT-ARROW and -RIGHT-ARROW, which
move to the first capital letter, ignoring quote marks and
parentheses.
29. Paragraph End
Moves the cursor to the end of a paragraph. Cannot be repeated.
DELETE MACROS
30. Undelete
Brings back deleted text (unless deleted by character). The same
as Ctrl-F4, but you might like to make it handier.
31. Delete Entire Word
Deletes an entire word, no matter where on it the cursor is.
PC-Write Macros 11
32. Delete Text Line Left
33. Delete Full Line Right
The first macro deletes backward to the first word of a line.
Unlike Shft-Ctrl-BACKSPACE, it can be repeated to keep deleting
lines backward in the document. The second macro--used from the
middle of a line--will delete to the end, then move the cursor to
the beginning of the next line, ready to delete it entirely. It
works only with Auto-reformatting off.
34. Delete Sentence Left
35. Delete Sentence Right
36. Delete Entire Sentence
These delete sentences. With the third macro, the cursor can be
anywhere in the sentence. Use these with caution--missing or mid-
sentence punctuation can throw them off!
37. Delete Paragraph Left
38. Delete Paragraph Right
39. Delete Entire Paragraph
40. Delete to Paragraph End
These delete paragraphs. With the third macro, the cursor can be
anywhere in the paragraph. Use the fourth macro when deleting
from within a paragraph to the paragraph end--or whenever else
you don't want to delete all the way to the next paragraph. This
one cannot be repeated.
41. Send to End
42. Send to Beginning
43. Send "OUT"
These remove marked text, but store it where you can retrieve
it--at the end of the file, at the beginning, or in a special
file named OUT in your default drive and directory. (OUT will be
created, if it isn't already there.)
To retrieve your text from OUT, edit the file and mark the
desired text with Ctrl-F6, to export it to the original file. If
you use OUT a lot, make sure to clear out the file, now and then,
or it will keep getting bigger! For a different filename and/or
directory, replace the macro text within the quotes.
PC-Write Macros 12
SWAP MACROS
Swap Macros transpose elements backward and forward.
44. Swap Characters Left
Transposes the two characters to the cursor's left. This is
unlike Shft-BACKSPACE, which makes you back up after a mistype
and place your cursor on a letter you want to move.
45. Swap Words Left
46. Swap Words Right
47. Swap Lines Backward
48. Swap Lines Forward
49. Swap Sentences Backward
50. Swap Sentences Forward
51. Swap Paragraphs Backward
52. Swap Paragraphs Forward
As far as we know, you won't find any of these commands in any
word processor. To swap right, place your cursor at the beginning
of the element you want to move. To swap left, place your cursor
at the beginning of the FOLLOWING element--in other words, to the
right of, or below, the element you want to move. Repeating a
command will move the same element again. The Swap Sentences
macros won't work at the very beginning or end of the document.
Swap Paragraphs Forward won't work at the end of the document.
53. Swap Entire Word Left
54. Swap Entire Word Right
55. Swap Entire Line Backward
56. Swap Entire Line Forward
57. Swap Entire Sentence Backward
58. Swap Entire Sentence Forward
59. Swap Entire Paragraph Backward
60. Swap Entire Paragraph Forward
PC-Write Macros 13
With the Swap Entire commands, your cursor can be ANYWHERE ON
what you're moving. (This is the same way Shft-BACKSPACE and
Shft-ESC work.) These commands too can be repeated. The Swap
Entire Sentences commands won't work at the beginning or end of
the document. The Swap Entire Paragraphs commands won't work at
the end of the document.
MARK MACROS
These commands mark elements.
61. Mark Character Left
62. Mark Character Right
63. Mark Word Left
64. Mark Word Right
65. Mark Line Left
66. Mark Line Right
67. Mark Sentence Left
68. Mark Sentence Right
69. Mark Paragraph Left
70. Mark Paragraph Right
You can repeat the Mark Left and Right commands to extend the
marking as far as you like. You can also use opposite-direction
commands to UNmark text you've marked.
71. Mark Entire Word
72. Mark Entire Line
73. Mark Entire Sentence
74. Mark Entire Paragraph
With the Mark Entire commands, your cursor can be ANYWHERE ON
what you're marking. Repeating these has no effect.
PC-Write Macros 14
PAGE FORMAT MACROS
All macros in this section are based on a standard format:
8-1/2 X 11 inch page, 1 inch margins on all sides, and the normal
10 characters per inch.
75. Block Paragraph Ruler
76. Indented Paragraph Ruler
77. Hanging Indent Ruler
78. Two-Column Ruler
79. Two-Column, Indented Paragraph Ruler
These insert various rulers in your document. Of course, you can
create your own variations. Use Overwrite mode to modify the
macros' ruler text safely and easily.
80. Single-Spaced, Block-Paragraph Page
81. Single-Spaced, Indented-Paragraph Page
82. Double-Spaced, Block-Paragraph Page
83. Double-Spaced, Indented-Paragraph Page
These set up entire page formats by inserting a ruler and Guide
lines in your document. Placed at the beginning of your file,
they can apply to the entire document. Inserted later in the
file, they will format subsequent pages.
CORRESPONDENCE MACROS
84. Letterhead
This macro inserts an entire letterhead into your document.
Designed primarily for dot matrix printers, the letterhead
includes bold, double wide, variable, underlined, and pica
(quality) fonts--but may also work acceptably with printers
lacking one or more of these. Subsequent pages will print with a
simple header: name and page number.
Replace the text within quote marks with your own data. Be sure
to leave the quote marks! The letterhead is set for single-
spacing, block paragraphs. If you want to change it to double-
spacing, change .m:1 on the LAST line only, to .m:2. The font
that is set for the letter body is pica (quality).
PC-Write Macros 15
You can insert the letterhead within the file as many times as
you like. Just put in a hard page break, then insert the
letterhead on the line immediately following. Each time PC-Write
prints the letterhead, page numbering will be reset--so a page
with the letterhead is always counted as page 1.
The letterhead takes a moment to appear, so please be patient!
Also please note: The entire letterhead--except for a few blank
lines--disappears in Hide Mode.
85. Address Grabber
86. Address Grabber, with return address
87. Address Grabber, Laserjet/Laserjet Plus
88. Address Grabber, Laserjet/Laserjet Plus, with return address
89. Address Grabber, Laserjet II
90. Address Grabber, Laserjet II, with return address
These "address grabbers" take a name-and-address block from your
letter and print it on a business-size envelope. For the macros
also printing your return address, replace the macro text within
quote marks with your own data. Be sure to leave the quote marks!
To use an "address grabber," your cursor must be at the beginning
of the first word of the block you want printed. Make sure your
printer is on line.
The first two grabbers are for use with a dot matrix or a daisy
wheel printer. Make sure the top of the envelope is flush with
the print head. With a dot matrix printer, you may first have to
disengage your "paper out" sensor. Because these two macros rely
on current PC-Write key assignments, they may or may not work
with PC-Write versions later than 3.0.
The remaining grabbers work with the Hewlett-Packard Laserjet
family, printing the addresses in landscape mode. (Sorry, no
Deskjets.) To use these, your address block must be flush to the
far left (column 1)--so set your left margin with a ".X:" line,
not with your ruler. Your envelope must be inserted "stamp end"
first. We are indebted to PC Magazine (Dec 13, 1988) for the
printer code strings used in these macros. See that issue for
hints on modification.
PC-Write Macros 16
MISCELLANEOUS MACROS
91. Instant Print
This is a one-key command to print your document continuously.
Based on a macro by Peter Klein in Quick Notes #11.
92. Reformat Entire Paragraph
This reformats the entire paragraph the cursor is in--unlike F7,
which reformats only from the cursor to the paragraph end. We use
this macro and leave Auto-reformatting off, since Auto-
reformatting cuts PC-Write's speed about in half.
93. Return, Left Margin
94. Return-and-Stay
95. Return-and-Stay, Left Margin
The first Return macro moves the cursor, and any text following
it, to the left margin of a new line--instead of to the paragraph
margin. The second macro inserts a paragraph break at the cursor,
but leaves the cursor where it is. (PC-Write supplies this
operation, but doesn't assign it to a key.) The third macro
combines the first two: It moves text to the left margin of a new
line, but leaves the cursor where it is.
96. Indent Line
97. Unindent Line
These indent or unindent lines to the margins and tabs in your
ruler. They're handy especially after indenting or unindenting a
paragraph by mistake. Place your cursor on the first word of the
line. (PC-Write provides both operations, but assigns only the
first, to Ctrl-I.)
98. No Action
99. Beep
These deactivate keys. You can assign them to keys you don't need
but sometimes press accidentally. For example, if you're
assigning macros to Ctrl-letter keys, you might want to cancel
Ctrl-letter keys you aren't using.
100. Display Off
When used at the beginning of a recorded key sequence, this will
speed up the playback by making it invisible--you see only the
final result.
v1.3
**********************************
PC-WRITE MACROS--REGISTRATION FORM
**********************************
NAME: Send check or
money order to
ADDRESS:
Simple Productions
12 East 15th St. #3
Arcata, CA 95521 USA
707-822-3148
PHONE:
OCCUPATION:
____ I enclose $5 for registration.
____ We enclose $______ for registration @ $5 per station.
(Foreign payments must be in US$, by international postal
money order or similar.)
Which PC-Write version are you using? _______
Where did you obtain PC-Write Macros?
(Please include full address or BBS phone number.)
COMMENTS: (Comments may be used in promotion.)