home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / basic / eventshell / Examples / !MenuSort / !Run < prev    next >
Encoding:
Text File  |  1996-04-25  |  970 b   |  23 lines

  1. | !Run Obey file for MenuSort Application
  2. Set MenuSort$Dir <Obey$Dir>
  3. Set MenuSort$BasicFile <Obey$Dir>.!MenuSort
  4. IF "<EvntShell$Path>"="" THEN ERROR 0 Shell resources not found
  5. |Change the next line if you are using a different
  6. |filetype number
  7. |Set Alias$@RunType_200 Run <Obey$Dir>.!Run %%*0
  8. IconSprites <Obey$Dir>.!Sprites
  9. |Set Dummy$Path <Run$Path>,<Obey$Dir>.Resources.
  10. |Run Dummy:ResFind MenuSort
  11. |Unset Dummy$Path
  12. WimpSlot -min 241K -max 241K
  13. |Load any modules required now
  14. RMEnsure InterfaceManager 2.00 RMLoad <EvntShell$Path>Interface
  15. RMEnsure InterfaceManager 2.00 Error Couldn't load Interface module
  16. RMEnsure MenuUtils 0.11 RMLoad <EvntShell$Path>MenuUtils
  17. RMEnsure MenuUtils 0.11 Error 0 Error Couldn't load MenuUtils Module
  18. RMEnsure MessageTrans 0.06 RMLoad <EvntShell$Path>MsgTrans
  19. RMEnsure MessageTrans 0.06 Error Couldn't load MsgTrans Module
  20. |And check that there is still enough memory!
  21. WimpSlot -min 241K -max 241K
  22. Run <MenuSort$Dir>.!MenuSort %*0
  23.