home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / textual / antiword / !AntiWord / !Run < prev    next >
Text File  |  1998-07-13  |  943b  |  23 lines

  1. | !Run file for AntiWord
  2. | (C) Adri van Os 1998
  3. |
  4. if "<System$Path>" = "" then Error 0 System resources cannot be found
  5. if "<Font$Path>" = "" then Error 0 There are no fonts available
  6. |
  7. Set      AntiWord$Dir  <Obey$Dir>
  8. |
  9. SetMacro AntiWord$Path Choices:AntiWord.,<AntiWord$Dir>.,<Wimp$ScrapDir>.AntiWord.
  10. |
  11. SetMacro AntiWord$ChoicesFile AntiWord:Choices
  12. if "<Choices$Write>" <> "" then Set AntiWord$ChoicesSave <Choices$Write>.AntiWord.Choices else Set AntiWord$ChoicesSave <AntiWord$Dir>.Choices
  13. |
  14. SetMacro AntiWord$FontNamesFile AntiWord:FontNames
  15. if "<Choices$Write>" <> "" then Set AntiWord$FontNamesSave <Choices$Write>.AntiWord.FontNames else Set AntiWord$FontNamesSave <AntiWord$Dir>.FontNames
  16. |
  17. RMEnsure SharedCLibrary 0.00 RMLoad System:Modules.Clib
  18. RMEnsure SharedCLibrary 3.75 Error You need Clib 3.75 or later
  19. |
  20. if "<File$Type_AE6>" = "" then Set File$Type_AE6 MSWord
  21. |
  22. WimpSlot -min 160K -max 160K
  23. Run <AntiWord$Dir>.!RunImage %*0