
| These 2 lines will set the paths to us if we've been run from a diff. place before
If "<NewsHound$Dir>" <> "<Obey$Dir>" Then Set NewsHound$NewsDir <Obey$Dir>.News
If "<NewsHound$Dir>" <> "<Obey$Dir>" Then Set NewsHound$ConfigDir <Obey$Dir>.Config

Set NewsHound$Dir <Obey$Dir>
IconSprites <NewsHound$Dir>.!Sprites

If "<NewsHound$NewsDir>" = "" Then Set NewsHound$NewsDir <Obey$Dir>.News
If "<NewsHound$ConfigDir>" = "" Then Set NewsHound$ConfigDir <Obey$Dir>.Config
| Note - both news & config dir must always be writeable.

RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions

RMENSURE FilterManager 0.09 RMLoad System:modules.FilterMgr
RMENSURE FilterManager 0.09 Error You Need filter manager 0.09 or later

RMEnsure BorderUtils 0.02 RMEnsure WindowManager 3.17  RMLoad System:modules.BorderUtil

RMENSURE Toolbox    1.23  RMLOAD System:modules.toolbox.toolbox
RMENSURE Toolbox    1.23  ERROR You need toolbox 1.23 or later to run !NewsHound
RMENSURE Window     1.15  RMLOAD System:modules.toolbox.window
RMENSURE Window     1.15  ERROR You need window 1.15 or later to run !NewsHound
RMENSURE Menu       0.15  RMLOAD System:modules.toolbox.menu
RMENSURE Menu       0.15  ERROR You need menu 0.15 or later to run !NewsHound
RMENSURE Iconbar    1.08  RMLOAD System:modules.toolbox.iconbar
RMENSURE Iconbar    1.08  ERROR You need iconbar 1.08 or later to run !NewsHound
RMENSURE ProgInfo   0.05  RMLOAD System:modules.toolbox.proginfo
RMENSURE ProgInfo   0.05  ERROR You need proginfo 0.05 or later to run !NewsHound


Wimpslot -min 230k -max 230k

If "<SysLog$Dir>"="" then Error !SysLog application not seen by filer
RMEnsure SysLog 0.14 Run <SysLog$Dir>.!Run
RMEnsure SysLog 0.14 Error NewsHound needs SysLog 0.14 or later

| Enable this to stop syslog messages been memory cached
| SysLog_Flush ON

| Enable this to set full debugging level

| syslog NewsHound 255
| syslog_flush OFF

Wimpslot -min 284k -max 284k

| To run newshound without an icon, change the line below to:
| Run <NewsHound$Dir>.!Runimage -noicon %*0
Run <NewsHound$Dir>.!Runimage %*0