home *** CD-ROM | disk | FTP | other *** search
/ Woodland Treasury / Woodland_Treasury.iso / support / _arplayer / _run < prev    next >
Text File  |  1994-05-02  |  2KB  |  43 lines

  1. | ARPlayer:!Run
  2. | © Uniqueway Ltd, 1994
  3. | © Acorn Computers Ltd, 1994
  4.  
  5. RMEnsure UtilityModule 3.10 Error ARPlayer can only be run under RISC OS 3.1 or later
  6.  
  7. Set ARPlayer$Dir <Obey$Dir>
  8. SetMacro ARPlayer$Path <ARPlayer$Dir>.
  9.  
  10. IconSprites ARPlayer:!Sprites
  11.  
  12. | ---------------------------------------------------------------
  13. | Check ARMovie existence and version
  14.  
  15. If "<ARMovie$Dir>" = "" Then Error ARMovie resources not found. Please open a directory display containing the !ARMovie application.
  16.  
  17. | If "<ARMovie$Version>" = "" Then WimpSlot -min 288K
  18. | If "<ARMovie$Version>" = "" Then Run ARPlayer:Dummy -playfor 0 -noerror
  19.  
  20. WimpSlot -min 288K
  21. Run ARPlayer:Dummy -playfor 0 -noerror
  22.  
  23. RMEnsure ReplaySupport 0.04 RMLoad ARPlayer:ReplaySpt
  24. ReplayCheckVer 0.30 Error ARPlayer requires newer resources. Please update the !ARMovie application.
  25.  
  26. | ---------------------------------------------------------------
  27. | The following system variable can be altered for your system.
  28.  
  29. | This variable sets from where to save and load the Choices file.
  30. Set ARPlayer$OptionsFile <ARPlayer$Dir>.!Choices
  31.  
  32. | This variable sets where to save an obey file to setup the Replay system variables
  33. | The file is run either on boot up or when !ARPlayer.!Boot is run
  34. If "<Choices$Write>" = "" Then Set ARPlayer$StateFile <ARPlayer$Dir>.!State Else SetMacro ARPlayer$StateFile <Choices$Write>.Boot.PreDesk.ARPlayer
  35.  
  36. | ---------------------------------------------------------------
  37. | Setup slot and go
  38.  
  39. WimpSlot -min 196k
  40. WimpSlot -min 192k -max 192K
  41.  
  42. Run ARPlayer:!RunImage %*0 -p 2> pipe:arplayer
  43.