home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / comm / Mail+News / UMS11 / rexx / MultiView.intui < prev    next >
Text File  |  1995-08-27  |  771b  |  46 lines

  1. /*
  2.  
  3.     $VER: MultiView.intui 1.0 (27.8.95)
  4.  
  5.    Author:
  6.     Matthias Scheler <tron@lyssa.owl.de>
  7.  
  8.    Function:
  9.     Shows the file attached to a message with MultiView.
  10.  
  11.    History:
  12.     0.1   initial version
  13.     0.2   fixed header
  14.     1.0   released with IntuiNews 1.3
  15.  
  16.    Requires:
  17.     UMSServer 11.28 or newer
  18.     ums.library 11.18 or newer
  19.  
  20.    Example for "ums.config":
  21.     ( IntuiNews.Rexx
  22.     ...
  23.         "#?Message F2 MultiView.intui\n"
  24.     ...
  25.     )
  26.  
  27. */
  28.  
  29. /* Get TEMPORARY filename. */
  30.  
  31. OPTIONS RESULTS
  32.  
  33. GETTEMPFILENAME
  34. IF RESULT="RESULT" THEN EXIT 5
  35. TempFileName=RESULT
  36.  
  37. /* Get public screen name. */
  38.  
  39. 'INFO SCREEN'
  40. IF RESULT="RESULT" THEN EXIT 5
  41. PubScreenName=RESULT
  42.  
  43. /* Call MultiView. */
  44.  
  45. SHELL COMMAND 'SYS:Utilities/MultiView' TempFileName 'PUBSCREEN' PubScreenName
  46.