| !Run file for !Antiword
| (C) Adri van Os 1998-2001
|
if "<System$Path>" = "" then Error 0 System resources cannot be found
if "<Font$Path>" = "" then Error 0 There are no fonts available
|
Set      Antiword$Dir  <Obey$Dir>
IconSprites <Antiword$Dir>.!Sprites
|
SetMacro Antiword$Path Choices:Antiword.,<Antiword$Dir>.,<Wimp$ScrapDir>.Antiword.
|
SetMacro Antiword$ChoicesFile Antiword:Choices
if "<Choices$Write>" <> "" then Set Antiword$ChoicesSave <Choices$Write>.Antiword.Choices else Set Antiword$ChoicesSave <Antiword$Dir>.Choices
|
SetMacro Antiword$FontNamesFile Antiword:FontNames
if "<Choices$Write>" <> "" then Set Antiword$FontNamesSave <Choices$Write>.Antiword.FontNames else Set Antiword$FontNamesSave <Antiword$Dir>.FontNames
|
Set Antiword$MappingFile <Antiword$Dir>.Resources.Unicode
|
RMEnsure SharedCLibrary 0.00 RMLoad System:Modules.Clib
RMEnsure SharedCLibrary 3.75 Error You need Clib 3.75 or later
|
if "<File$Type_AE6>" = "" then Set File$Type_AE6 MSWord
|
WimpSlot -min 200K -max 200K
Run <Antiword$Dir>.!RunImage %*0