|> !Run
|
|  Execution file for !HyperView

Set HyperView$Dir <Obey$Dir>

Set File$Type_BD7 HyprDict
Set File$Type_D8E ABIDefs
Set Alias$@RunType_BD7 Run <HyperView$Dir>.!Run %%*0

IconSprites <HyperView$Dir>.!Sprites
WimpSlot -min 224k -max 224k


SetEval Impression$NeedsAemulor 0
RMEnsure UtilityModule 6.00 SetEval Impression$NeedsAemulor -1
RMEnsure UtilityModule 5.00 SetEval Impression$NeedsAemulor 0
If Impression$NeedsAemulor THEN RMEnsure Aemulor 1.00 Error You need the Aemulor 26bit emulation software to run WorkWorks on RISC OS 5
If Impression$NeedsAemulor THEN Set Alias$ImpRun "AemuExecute " ELSE Set Alias$ImpRun "Run "
If Impression$NeedsAemulor THEN Set Alias$ImpRMensure "AemuExecute RMEnsure " ELSE Set Alias$ImpRMEnsure "RMEnsure "


RMEnsure FontManager 2.42 Error 0 FontManager 2.42 or greater not installed. Locate !Fonts directory

|If "<Font$Path>"="" THEN Error 0 Fonts cannot be found. Locate !Fonts directory on Fonts disc
|
|  Look for ABI in the !System directory.  If it's not there then try to load
|  it from inside the application...
|
SetEval SysABI 0
RMEnsure ABI 2.86 SetEval SysABI -1
IF "<System$Path>"="" Then SetEval SysABI 0
If SysABI Then IfThere System:Modules.ABIMod Then SetEval SysABI -1
If SysABI Then ImpRMEnsure ABI 2.86 RMLoad System:Modules.ABIMod
If SysABI Then ImpRMEnsure ABI 2.86 Error "The copy of ABIModule in !System is out of date. Please refer to the section 'Updating ABI' in the manual."
ImpRMEnsure ABI 2.86 RMLoad <HyperView$Dir>.RMStore.ABIMod
ImpRMEnsure ABI 2.86 Error "The copy of ABI in HyperView is out of date. HyperView may have been incorrectly installed. Please re-install HyperView or seek technical help."
Unset SysABI

RMEnsure ColourTrans 0.52 RMLoad System:Modules.Colours

ImpRMEnsure Impulse 0.18 RMLoad <HyperView$Dir>.RMStore.ImpulseII
ImpRMEnsure Impulse 0.18 Error 0 The copy of Impulse in this application is out of date. You need Impulse 0.18 or later

ImpRun "<HyperView$Dir>.!RunImage" %*0
