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

  1. /* HTML-Helper Arexx script sample
  2.  * Ver      : 1.1 (7th January 1995)
  3.  * Copyright: Paul Kolenbrander (InterNet: paul@serena.iaehv.nl)
  4.  * Function : Pass on the HTML commands from HTML-Helper to AME.
  5.  * Author   : Simon Dick, <sidick@essex.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.  
  12. HTMLCMD = SUBSTR(HTMLCMD,2, LENGTH(HTMLCMD)-1) /* strip leading space      */
  13. HTMLCMD = SUBSTR(HTMLCMD,2,LENGTH(HTMLCMD)-2)
  14.  
  15. ADDRESS 'AME.01'                              /* The editor's ARexx port   */
  16.  
  17. Text HTMLCMD                                  /* the Insert command        */
  18. EXIT                                          /* And exit the script.      */
  19.