home *** CD-ROM | disk | FTP | other *** search
/ Inside Multimedia 1995 April / IMM0495.ISO / share / vorstell / zoc205 / install.fil / SCRIPT / ZOCEVENT.CMD < prev   
OS/2 REXX Batch file  |  1995-02-11  |  744b  |  26 lines

  1. /*********************************************************************** 
  2.    This rexx program is for use with ZOC and FaxWorks 
  3.  
  4.    It is called with the argument OPEN when ZOC starts 
  5.    and with the argument CLOSE when ZOC is shut down.
  6.  
  7.    None of the ZOC commands work here (since it is called 
  8.    before initialization and after cleanup of ZOC 
  9.    subsystems).
  10. ***********************************************************************/
  11.  
  12.  
  13. exit    /* REMOVE THIS LINE TO ENABLE SWITCHING OF FAXWORKS */
  14.  
  15.  
  16. parse arg event 
  17.  
  18. if event = OPEN then do        /* if ZOC started */
  19.     "\faxworks\fxrcv -off"     /* turn FaxWorks off */
  20. end
  21.  
  22. if event = CLOSE then do    /* if ZOC closed */
  23.     "\faxworks\fxrcv -on"     /* turn FaxWorks on */
  24. end
  25.  
  26.