home *** CD-ROM | disk | FTP | other *** search
/ The AGA Experience 2 / agavol2.iso / software / utilities / comms / html-heaven / arexx / html-edword.rexx < prev    next >
OS/2 REXX Batch file  |  1996-01-08  |  715b  |  18 lines

  1. /* HTML-Helper Arexx script sample
  2.  * Ver      : 1.1 (7th January 1996)
  3.  * Copyright: Paul Kolenbrander (InterNet: paul@serena.iaehv.nl)
  4.  * Function : Pass on the HTML commands from HTML-Helper to EdWord Pro.
  5.  * Author   : Martin Reddy, <mxr@dcs.ed.ac.uk>
  6.  * Input    : HTMLCMD - The HTML command to be inserted.
  7.  */
  8.  
  9. OPTIONS RESULTS                                /* enable return codes */
  10. PARSE ARG MYCMD HTMLCMD
  11. HTMLCMD = SUBSTR(HTMLCMD,2, LENGTH(HTMLCMD)-1) /* strip leading space     */
  12.  
  13. ADDRESS 'EDWORD'                              /* The editor's ARexx port */
  14.  
  15. InsertText HTMLCMD                            /* the Insert command */
  16.  
  17. EXIT                                          /* And exit the script.*/
  18.