home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / timing / a268_1 / !CHARGES / !Run < prev    next >
Text File  |  1993-01-27  |  2KB  |  46 lines

  1. | !Run file for Charges
  2. | by R.G.Hallas
  3. |
  4. Set Charges$Dir <Obey$Dir>
  5. Set Charges$Colours 17
  6. | Two hexadecimal digits corresponding to the wimp colours to be used for
  7. | the background and foreground colours (respectively) of the text line
  8. | beneath the Charges icon on the icon bar.
  9. |
  10. IconSprites <Charges$Dir>.!Sprites
  11. IconSprites <Charges$Dir>.IconBar
  12. IF "<System$Path>"="" THEN ERROR 0 System resources cannot be found
  13. RMEnsure InterfaceManager 0 RMLoad System:Modules.Interface
  14. RMEnsure InterfaceManager 0 ERROR 0 You need the Interface Manager module in your !System
  15. RMEnsure InterfaceManager 2.00 RMLoad System:Modules.Interface
  16. RMEnsure InterfaceManager 2.00 ERROR 0 The copy of the Interface Manager module in your !System is out of date. Please replace it with the copy to be found in the !Charges.Resources directory.
  17. |
  18. 3DColours 4 0 1 14 12
  19. | The above command will force the new Interface Manager II to use
  20. | the standard colours associated with version I for all applications,
  21. | i.e. grey and white rather than the excessively stark black and white.
  22. | Comment the line out (with a | character) if you don't want this to
  23. | happen. You may feel, though, as I do, that you want all your
  24. | existing applications which use Interface to retain their old colours.
  25. | If so, you should specifically load Interface when you start the machine
  26. | (preferably in a boot-up sequence), and after loading it issue the above
  27. | 3DColours command. This will force the normal colours to be used by all
  28. | Interface applications.
  29. |
  30. | N.B. The documentation for Interface says that the default colours are
  31. | the ones given in the above command. In fact, version 2.00 of the module
  32. | uses default colours 7 0 1 14 12, which may be a small bug. Either that
  33. | or the documentation's wrong. Either way, it gives black and white
  34. | borders as opposed to the expected grey and white ones.
  35. |
  36. RMEnsure MessageTrans 0 RMLoad System:Modules.MsgTrans
  37. RMEnsure MessageTrans 0 ERROR 0 You need the MessageTrans module in your !System
  38. |
  39. Obey <Charges$Dir>.!Country
  40. | Set up the program's Country system variable (which it can alter itself).
  41. |
  42. WimpSlot -min 96K -max 96K
  43. | 96K may not be enough: the program will claim as much more as it needs
  44. | for the messages etc.
  45. |
  46. Run <Charges$Dir>.!RunImage