Set NewAlarm$Dir <Obey$Dir>

Iconsprites <NewAlarm$Dir>.!Sprites

WimpSlot -min 32k -max 32k

RMEnsure SlidingHeap 2.0 RMLoad <NewAlarm$Dir>.SlidingHp

RMEnsure BorderUtils 0.02 RMEnsure WindowManager 3.17 RMLoad System:Modules.BorderUtil
|bugfix for RISC OS 31

|  -interval (or -i) represents default repeat interval from 1 to 6
| 1=minutes 6=years (see 'Intervals at which we can repeat', Messages file)

|  -value (or -v) represents default repeat value from 1 to 255
| i.e. Run <NewAlarm$Dir>.!RunImage -v 3 -i 5 causes repeat window to open with
| default value of 3 months


| If all this worries you, you may omit either or both parameters!

| If -autosave is used NewAlarm will attempt to save the alarms file
| every time an alarm goes off 

Run <NewAlarm$Dir>.!RunImage -interval 4   -v 1  -autosave