home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ArtWorks ClipArt 2
/
Artworks_AWCD-2.iso
/
demos
/
audioworks
/
_audiodemo
/
_run
< prev
next >
Wrap
Text File
|
1994-04-05
|
4KB
|
88 lines
| !Run file for AudioWorks digital sound editor
| This Run file contains user servicable parts. See the comments below.
|----------------------------------------------------------------------------
| Ensure enough memory available to run, and load our icon sprites
WimpSlot -min 240K -max 240K
IconSprites <Obey$Dir>.!Sprites
|----------------------------------------------------------------------------
| Set things up so that AudioWorks and DataVox files will run AudioWorks if
| they are double-clicked (but only if no other application (!AudioCtrl)
| has set these things up already)
Set File$Type_BD6 AudioWrk
If "<Alias$@RunType_BD6>" = "" Then Set Alias$@RunType_BD6 Run <Obey$Dir>.!Run %%*0
Set File$Type_BD5 Envelope
Set Alias$@RunType_BD5 Run <Obey$Dir>.!Run %%*0
Set File$Type_108 DataVox
If "<Alias$@RunType_108>" = "" Then Set Alias$@RunType_108 Run <Obey$Dir>.!Run %%*0
|----------------------------------------------------------------------------
| Ensure all the modules we need are present
RMEnsure FPEmulator 2.80 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.80 Error You need at least version 2.80 of the Floating Point Emulator
RMensure SharedClibrary 3.75 RMLoad System:Modules.CLib
RMensure SharedClibrary 3.75 Error You need at least version 3.75 of the shared C library
RMEnsure IRQUtils 0.12 RMLoad System:Modules.IRQUtils
RMEnsure AudioManager 1.25 RMLoad <Obey$Dir>.RMStore.AManager
RMensure AudioManager 1.25 Error You need at least version 1.25 of AudioManager
RMEnsure WimpKey 1.01 RMLoad <Obey$Dir>.RMStore.WimpKey
RMensure WimpKey 1.01 Error You need at least version 1.01 of WimpKey
|----------------------------------------------------------------------------
| AudioWorks application directory
| Read-only resources must be placed in <AudioWorks$Dir>.Resources.
| AudioWorks$Path is set up from this when the program is run.
Set AudioWorks$Dir <Obey$Dir>
|----------------------------------------------------------------------------
| AudioWorks 'panic save' directory name (written to on fatal error)
| The actual directory will be CDIR'd if it is needed
Set Temp$Dir <Wimp$ScrapDir>
IF "<Temp$Dir>" = "" THEN Set Temp$Dir $
Set AudioWorks$PanicDir <Temp$Dir>.AudioWorks
UnSet Temp$Dir
|----------------------------------------------------------------------------
| AudioWorks preference file name:
| This is the only Writable resource used, so for network use you can
| comment out this line and set the variable up as appropriate for individual
| users, so that each user can have their own personal prefs
Set AudioWorks$Prefs <Obey$Dir>.AudioPrefs
|----------------------------------------------------------------------------
| AudioWorks display fonts:
| If you configure 'Outline font' on in the display preferences, the following
| fonts will be used. FontSize is a size in 16ths of a point.
| Note that if TitleFont is not set, AW will try to find an Italic/Oblique
| variation of TextFont. If none of these are set, then AW will try Wimp$Font.
| If the fonts chosen are not all available, AW will default to System font.
|
| The default below is to use Wimp$Font if it is set, else use Trinity.Medium
Set AudioWorks$TextFont <Wimp$Font>
Set AudioWorks$FontSize <Wimp$FontSize>
Unset AudioWorks$TitleFont
if "<Wimp$Font>" = "" then Set AudioWorks$TextFont Trinity.Medium
if "<Wimp$Font>" = "" then Set AudioWorks$TitleFont Trinity.Medium.Italic
if "<Wimp$Font>" = "" then Set AudioWorks$FontSize 224
|----------------------------------------------------------------------------
| Oh, and of course, we mustn't forget to run the main program!
WimpSlot -min 240k -max 240k
Run <AudioWorks$Dir>.!RunImage %*0