Dec 242017
 
MPE4WP, Macro Programming Environment for WordPerfect, Version 2.2. Replacement for the WP macro editor. Converts macros to/from WP documents or ASCII files.

Full Description of File


MPE4WP, Macro Programming Environment for
WordPerfect, Version 2.2. Replacement for
the WP macro editor. Converts macros to/from
WP documents or ASCII files. Toolkit of
macros to emulate and improve upon the Macro
Editor. Ver. 2 adds new macros and achieves
seamless integration with WP. Version 2.2 is
a maintenance release for improved display.


File MPE4WP22.ZIP from The Programmer’s Corner in
Category Word Perfect
MPE4WP, Macro Programming Environment for WordPerfect, Version 2.2. Replacement for the WP macro editor. Converts macros to/from WP documents or ASCII files.
File Name File Size Zip Size Zip Type
CMDS_A-L.WPM 5926 1355 deflated
CMDS_M-Z.WPM 6098 1428 deflated
COMMAND.LST 7851 2311 deflated
COMMAND.WPM 5194 1624 deflated
FILE_ID.DIZ 363 238 deflated
M2T.COM 29746 18919 deflated
MANUAL.MPE 105616 34015 deflated
MC.COM 34082 21621 deflated
MPE4WP-I.WPK 47369 9697 deflated
MPE4WP.WPK 3231 1492 deflated
README.MPE 22015 6945 deflated
REGISTER.FRM 1339 415 deflated
WHATS.NEW 10937 4524 deflated
{ATTRIB}.WPM 2926 926 deflated
{CREATE}.DOC 9285 3439 deflated
{CREATE}.WPM 3974 1307 deflated
{EXPAND}.WPM 4224 1151 deflated
{HELP}.WPM 2240 615 deflated
{INSERT}.WPM 4868 1362 deflated
{KEY}.WPM 4950 1395 deflated
{POS}.WPM 3794 1197 deflated
{RECORD}.WPM 8010 1900 deflated
{SPCIAL}.WPM 4098 1195 deflated

Download File MPE4WP22.ZIP Here

Contents of the {CREATE}.DOC file


WPCI
2BZRV3|xStandard PrinterSTANDARD.PRSx
@`X@2xxx
+Xx
@X@Courier 10 Pitch2EGX`hp x (#%'0*,.8135@8:{;}This is the MPE4WP Create macro, which is assigned to CTRL-C
on the MPE4WP keyboard. Create verifies that the file in the
active window has been saved, then shells out to DOS to run
MC.COM.
Copyright 1991, 1992 Michael H. Shacter~
{GO}initialize~
{LABEL}GetCmdLine~

{:}To view this document, Comments Display must be set to "Yes".
Document comments are used to prevent the tildes in the examples
from interfering with the operation of the final macro. If you
cannot see the comment immediately following this notice, please
turn on Comments Display.
2
I. A. 1. a.(1)(a) i) a) 1. A. 1. a.(1)(a) i) a)1. SetupP
P
(Shift F1)
2. 2 Display
3. 6 EditScreen Options
4. 2 Comments Display Yes
Incidentally, this is an example of a silent comment. Neither it
nor the following WordPerfect document comments are incorporated
in a final macro.
G
If you can see this comment then Comments Display is on.G
The purpose of this document is to assist in the preparation of
a customized {CREATE} macro for use in MPE4WP. To make MPE4WP
most useful, the Variables FullPN and CmdLine should be tailored
to match your needs. By default, Create is configured to expect
that (a)MC.COM is located in a directory on your path, (b)the
document on the current screen is the source file for the macro
to be created, (c)the new macro is to have the same root name as
the source file and to be placed in the same directory as the
source file, and (d)MC.COM should pause before creating the
macro to permit verification that source and macro file names
have been entered correctly and that the new macro will not
overwrite an existing one.

Create can be modified to place new macros in an alternative
directory and to restrict or eliminate a pause before the
conversion process commences. If you prefer a different
configuration, review the comments that follow to find values
that meet your needs. If anything is unclear, please consult the
manual. Modify the relevant lines as necessary and save this
source file. Now, run MC.COM to convert the modified source file
into a customized {CREATE} macro. (Note: There is no need to
delete any of these comments. They will be ignored when MC
converts this file to a macro.) In order to function properly
with the MPE4WP keyboard, the new macro should be called
{CREATE}.WPM. and placed in the same directory with your other
macros. If you are using the MPE4WPI keyboard, the new
{CREATE}.WPM should be retrieved into the keyboard and assigned
to the key CTRL-C.

You must fill in the full path name of MC.COM, if it is not
located in a directory on your DOS path. For example, if MC is
located in C:\WP51, the following line might read:h)0*0*0*%
{ASSIGN}FullPN~C:\WP51\MC~% Please bear in mind that WordPerfect imposes a limit of 59
characters when using the Shell/DOS Command feature. If you
always work on the C: drive, the preceding suggestion might be
shortened to:
"
{ASSIGN}FullPN~\WP51\MC~"Please do not delete this tilde > ~L. PLEASE EDIT THE FOLLOWING LINE AS NECESSARY. L
{ASSIGN}FullPN~MC~
J
PLEASE EDIT THE PRECEDING LINE AS NECESSARY J{:} The line following this series of comments governs the
options that determine (a) whether MC will pause before
processing the source file, (b) the name of the source file, and
(c) the directory into which new macros are to be placed. Here
are some alternative examples for guidance. Many other
combinations are possible.

A
{ASSIGN}CmdLine~/v {SYSTEM}15~{SYSTEM}12~ c:\wp51\macro~APause only when an existing file may be overwritten; source file
is document in current editing window; new macros go in the
directory: c:\wp51\macro.

>
{ASSIGN}CmdLine~{SYSTEM}15~{SYSTEM}12~ c:\wp51\macro~>Never pause; source file is document in current editing window;
new macros go in the directory: c:\wp51\macro.

5
{ASSIGN}CmdLine~/pm {SYSTEM}12~ \wp51\macro~5Always pause; monochrome display; source file is always in the
Current Directory, i.e. the directory that appears when you press
List Files (F5); output directory is \wp51\macro and is on the
same drive as current directory.

9
{ASSIGN}CmdLine~{SYSTEM}15~{SYSTEM}12~ ..\macro~9Never pause; source file is document in current editing window;
new macros go in a sister directory to the source directory.

2
{ASSIGN}CmdLine~{SYSTEM}15~{SYSTEM}12~ .~2Never pause; source file is document in current editing window;
new macros go in the current directory. Notice the "." after
{SYSTEM}12. It is the same "Dot" that appears at the top of the
screen when you use List Files (F5) in WordPerfect. In DOS
language, this means "Current Directory". This example is useful
when the Current Directory is not the same directory as the
directory in which the source file is located.

Please do not touch this tilde either. > ~
`
Please edit the following line to suit your preferences. `{ASSIGN}CmdLine~/p {SYSTEM}15~{SYSTEM}12~~
m
Edit the preceding line as necessary
Incidentally, this is the last comment.m
{RETURN}
{LABEL}initialize~
{DISPLAYOFF}{DISPLAYON}
{IF}!{STATE}&4~

{RETURN}
{ENDIF}
{CANCELOFF}
{ONERROR}{GO}end~~
{IF}{SYSTEM}4~&3~
{ELSE}

{GO}no~
{ENDIF}

{LABEL}again~
{CHAR}key~{^Q}h)0*0*0*{^P}{3}{7}{^]}

{^P}{3}{8} The document in this window has been modified
since it was last saved.

{^P}{3}{9} Would you like to save it before creating your
macro? {^V}Y{^Q}{^]}es ({^V}N{^Q}{^]}o)

{^P}{3}{10}! {^\}
{^P};{9}
~
{CASE}{VARIABLE}key~~

y~yes~Y~yes~{Enter}~yes~

n~no~N~no~

{Cancel}~end~{Esc}~end~
~
{GO}again~
{LABEL}yes~
{STATUSPROMPT}{DeltoEOP}
{^P}{18}{7}{^]}"#
{^P}{18}{8} Pausing while you save your source file
{^P}{18}{9}%${^\}
~
{Save}
{WHILE}{SYSTEM}13~=32809~

{CHAR}key~~

{IF}"{VARIABLE}key~"="{Cancel}"~{GO}end~{ENDIF}

{IF}"{VARIABLE}key~"="{Esc}"~

{IF}!{STATE}&1024~{Esc}{GO}again~{ENDIF}

{ENDIF}

{VARIABLE}key~
{ENDWHILE}
{STATUSPROMPT}~
{DISPLAYOFF}{DISPLAYON}

{LABEL}no~
{CALL}GetCmdLine~
{ASSIGN}cmd~{VARIABLE}FullPN~ {VARIABLE}CmdLine~~

{IF}{LEN}cmd~>59~

{CHAR}key~

{^P}{15}{8}{^]}


{^P}{15}{9} The DOS command is greater than 59 characters

{^P}{15}{10} in length. Shall I run MC anyway?
{^\}{^V}Y{^Q}{^]}es ({^\}{^V}N{^Q}{^]}o)

{^P}{15}{11}
{^\}
{^P}{52}{10}~

{CASE}{VARIABLE}key~~

n~end~N~end~{Cancel}~end~{Esc}~end~

~

{Shell}c{VARIABLE}FullPN~{Enter}

{GO}finish~h)0*0*0*{ENDIF}
{Shell}c{VARIABLE}cmd~{Enter}
{LABEL}finish~
{CHAR}~{^]}Press any key to continue{^\}~
*

{LABEL}end~
{IF}{SYSTEM}13~=32809~{Esc}{GO}end~{ENDIF}
{STATUSPROMPT}~
{DISPLAYOFF}{DISPLAYON}
{QUIT}


 December 24, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)