home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / vxdemo.zip / EPMPROTO.$$$ / EPMPROTO.TXT < prev    next >
Text File  |  1993-09-13  |  2KB  |  59 lines

  1. ---------------------------------------------------------------------
  2.  
  3.         Using VX-REXX Code Generation Dialogs from the
  4.         OS/2 Enhanced Editor (EPM).
  5.  
  6.              For use with VX-REXX version 1.01
  7.  
  8.                                             September 1993
  9. ---------------------------------------------------------------------
  10.  
  11. The files in the \VXREXX\MACROS\EPMPROTO directory allow you to
  12. use the VX-REXX code insertion dialog directly from EPM.  The
  13. EPMPROTO directory holds five files:
  14.  
  15.     EPMProto.TXT -- This file.
  16.  
  17.     Profile.ERX -- A sample EPM profile file which adds an "Insert" 
  18.         menu command to start the VX-REXX code insertion dialog.
  19.  
  20.     EPMProto.ERX -- A VX-REXX EPM macro that calls the VX-REXX
  21.         code insertion dialog and inserts the returned code string into
  22.         the current EPM text buffer.
  23.  
  24.         The EPMProto.ERX file was created using the VX-REXX 
  25.         "Make macro" menu item.
  26.  
  27.     EPMProto.VRP, EPMProto.VRX -- The project source files 
  28.         for EPMProto.ERX.
  29.        
  30.  
  31. The following steps are required to install the EPMProto macro in EPM:
  32.  
  33.     1) Define an environment variable VXREXX that is set to the
  34.        VX-REXX directory (e.g. C:\VXREXX).
  35.  
  36.        All copies of EPM share the same process, so you will need to
  37.        shutdown all instances of EPM before setting the environment
  38.        variable.
  39.  
  40.     2) Copy the Profile.ERX file to a directory in your EPMPATH or PATH,
  41.        or merge the lines in the supplied Profile.ERX with your own
  42.        Profile.ERX.  Note that EPM only executes the profile when EPM
  43.        is first started, so you must close and reopen EPM to see the
  44.        effect of a change to the profile.
  45.  
  46.        EPM will only execute the Profile.ERX file if the PROFILE option
  47.        is on.  To turn it on enter "profile on" at the EPM command prompt,
  48.        then select "Save options" from the "Options" menu.
  49.     
  50.     3) Copy the EPMProto.ERX file to a directory in your path.  You can
  51.        copy it to the VX-REXX directory, for example.
  52.  
  53. After installing the EPM macro, EPM will have a new menu "Insert" to
  54. the right of the "Help" menu.  It will contain the single item "Code" 
  55. which will start the VX-REXX insert code dialog.  Code generated
  56. by the insert code dialog will automatically inserted into the current
  57. text buffer at the current insertion point.
  58.  
  59.