home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 4
/
AUCD4.iso
/
_hsplayerf
/
_run
< prev
next >
Wrap
Text File
|
1998-06-11
|
2KB
|
57 lines
| HyperStudio Player for RISC OS, with foreign stack file support
| !Run file
| Last modified 12 Aug 97
| See if we're already running...
Set HyperStudio$Running no
WimpSlot -min 32k -max 32k
Run <Obey$Dir>.Enumerate
If HyperStudio$Running = "yes" then Error 1 The HyperStudio importing player is already running on this computer
UnSet HyperStudio$Running
Set HSPlayerF$Dir <Obey$Dir>
IconSprites <HSPlayerF$Dir>.!Sprites
| Choices path (for preferences and extras)
Set HStudioChoices$Write <Choices$Write>.HStudio
If "<Choices$Write>" = "" then Set HStudioChoices$Write <HSPlayerF$Dir>.Resources.Choices
Set HStudioChoices$Path <HSPlayerF$Dir>.Resources.Choices.
If "<Choices$Path>" <> "" then Set HStudioChoices$Path <Choices$Path>HStudio.,<HStudioChoices$Path>
| Filetypes
If "<Alias$@RunType_B44>" = "" Then Set Alias$@RunType_B44 Run <HSPlayerF$Dir>.!Run %%*0
Set File$Type_B44 HStudio
Set File$Type_B43 HSExten
| Old filetypes
Set HS$TestFile TestResult
Set HS$LoadOld "no"
If HS$LoadOld = "yes" Then If "<Alias$@RunType_EC1>" = "" Then Set Alias$@RunType_EC1 Run <HSPlayerF$Dir>.!Run %%*0
If HS$LoadOld = "yes" Then Set File$Type_EC1 OldCard
If HS$LoadOld = "yes" Then Set File$Type_305 OldHSExt
| Testfile leafname
Set HS$TestFile TestResult
| Drawfile support module
RMEnsure DrawFile 1.01 RMLoad <HSPlayerF$Dir>.Resources.DrawRender
RMEnsure DrawFile 1.01 Error 0 Can't find DrawFile module
| Load AudioManager if you want support for AudioWorks files
|RMEnsure AudioManager 1.25 RMLoad <HSPlayer$Dir>.Resources.AManager
|RMEnsure AudioManager 1.25 Error You need at least version 1.25 of AudioManager
| SampleManager (by Tim Barrett, © 1996 Arachne Software)
RMEnsure SampleManager 0.21 RMLoad <HSPlayerF$Dir>.Resources.SampleMan
RMEnsure SampleManager 0.21 Error You need at least version 0.21 of SampleManager
| CallASWI
RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.01 RMLoad <HSPlayerF$Dir>.Resources.CallASWI
|RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.01 RMLoad System:Modules.CallASWI
RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.01 Error You need either RISC OS 3.7 or at least version 0.01 of CallASWI
| Generic Multimedia Support
Run <HSPlayerF$Dir>.Resources.M2Support
WimpSlot -min 868K -max 868K
Run <HSPlayerF$Dir>.!RunImage %*0 -S