home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Archived / Updates / amp / !Amp / !Run < prev    next >
Text File  |  2000-05-14  |  981b  |  39 lines

  1. |
  2. | !Run file for !Amp
  3. |
  4. <Obey$Dir>.!Boot
  5. |
  6. Set Amp$PluginDir <Amp$Dir>.Plug-ins
  7. Set Amp$ModuleDir <Amp$PluginDir>.Modules
  8. Set Amp$TemplateDir <Amp$PluginDir>.Templates
  9. Set Amp$ResDir <Amp$Dir>
  10. Set Amp$SkinDir <Amp$Dir>.Skins
  11. |
  12. | We need the nested Window Manager
  13. |
  14. RMEnsure WindowManager 3.80 Error !Amp needs the nested Window Manager
  15. |
  16. | Check to see if we can support high colour sprites
  17. |
  18. Set Amp$HighColour YES
  19. |Set Amp$HighColour NO
  20. RMEnsure SpriteExtend 0.99 Set Amp$HighColour NO
  21. |
  22. | Set up a path to find the Squash app
  23. | If you have it somewhere else, add it BEFORE <Amp$Dir>.
  24. |
  25. Set AmpSquash$Path Squash:,Run:,<Amp$Dir>.
  26. |
  27. | Check for PlayIt
  28. |
  29. If "<PlayIt$Path>" = "" Then Set PlayIt$Path <Amp$ModuleDir>.PlayIt.
  30. |
  31. | Path to find choices
  32. |
  33. SetMacro AmpChoices$Path Choices:Amp.,<Amp$Dir>.
  34. If "<Choices$Write>" <> "" Then SetMacro Amp$ChoicesSave <Choices$Write>.Amp Else SetMacro Amp$ChoicesSave <Amp$Dir>
  35. |
  36. | And run the program
  37. |
  38. Set Amp$Args "%*0"
  39. <Amp$Dir>.CheckRun