home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 3 / AUCD3.iso / airport / utils / newshound / newshnd121 / !NewsHound / !Run < prev    next >
Text File  |  1997-04-17  |  2KB  |  51 lines

  1.  
  2. | These 2 lines will set the paths to us if we've been run from a diff. place before
  3. If "<NewsHound$Dir>" <> "<Obey$Dir>" Then Set NewsHound$NewsDir <Obey$Dir>.News
  4. If "<NewsHound$Dir>" <> "<Obey$Dir>" Then Set NewsHound$ConfigDir <Obey$Dir>.Config
  5.  
  6. Set NewsHound$Dir <Obey$Dir>
  7. IconSprites <NewsHound$Dir>.!Sprites
  8.  
  9. If "<NewsHound$NewsDir>" = "" Then Set NewsHound$NewsDir <Obey$Dir>.News
  10. If "<NewsHound$ConfigDir>" = "" Then Set NewsHound$ConfigDir <Obey$Dir>.Config
  11. | Note - both news & config dir must always be writeable.
  12.  
  13. RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
  14.  
  15. RMENSURE FilterManager 0.09 RMLoad System:modules.FilterMgr
  16. RMENSURE FilterManager 0.09 Error You Need filter manager 0.09 or later
  17.  
  18. RMEnsure BorderUtils 0.02 RMEnsure WindowManager 3.17  RMLoad System:modules.BorderUtil
  19.  
  20. RMENSURE Toolbox    1.23  RMLOAD System:modules.toolbox.toolbox
  21. RMENSURE Toolbox    1.23  ERROR You need toolbox 1.23 or later to run !NewsHound
  22. RMENSURE Window     1.15  RMLOAD System:modules.toolbox.window
  23. RMENSURE Window     1.15  ERROR You need window 1.15 or later to run !NewsHound
  24. RMENSURE Menu       0.15  RMLOAD System:modules.toolbox.menu
  25. RMENSURE Menu       0.15  ERROR You need menu 0.15 or later to run !NewsHound
  26. RMENSURE Iconbar    1.08  RMLOAD System:modules.toolbox.iconbar
  27. RMENSURE Iconbar    1.08  ERROR You need iconbar 1.08 or later to run !NewsHound
  28. RMENSURE ProgInfo   0.05  RMLOAD System:modules.toolbox.proginfo
  29. RMENSURE ProgInfo   0.05  ERROR You need proginfo 0.05 or later to run !NewsHound
  30.  
  31.  
  32. Wimpslot -min 230k -max 230k
  33.  
  34. If "<SysLog$Dir>"="" then Error !SysLog application not seen by filer
  35. RMEnsure SysLog 0.14 Run <SysLog$Dir>.!Run
  36. RMEnsure SysLog 0.14 Error NewsHound needs SysLog 0.14 or later
  37.  
  38. | Enable this to stop syslog messages been memory cached
  39. | SysLog_Flush ON
  40.  
  41. | Enable this to set full debugging level
  42.  
  43. | syslog NewsHound 255
  44. | syslog_flush OFF
  45.  
  46. If "<NewsHound$Running>" = "Yes" Then Error Only one copy of NewsHound May run at a time
  47.  
  48. Wimpslot -min 284k -max 284k
  49.  
  50. Set NewsHound$Running Yes
  51. Run <NewsHound$Dir>.!Runimage %*0