home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / m / makejpeg / !MakeJPEG / !Run < prev    next >
Text File  |  1993-09-05  |  1KB  |  32 lines

  1. | >!Run file for MakeJPEG, a front-end for cjpeg & djpeg applications
  2. | cjpeg & djpeg applications by The Independent JPEG Group
  3. | front-end © Dave Thomas, 1992-3
  4. |
  5. Obey <Obey$Dir>.!Boot
  6. |
  7. RMEnsure UtilityModule 3.00 If "<System$Path>"="" Then Error System resources cannot be found. Please open a directory containing !System and re-run MakeJPEG.
  8. |
  9. RMEnsure SharedCLibrary 3.75 RMLoad System:Modules.Clib
  10. RMEnsure SharedCLibrary 3.75 Error The SharedCLibrary 3.75 module is missing - MakeJPEG cannot start.
  11. |
  12. RMEnsure FPEmulator 2.80 RMLoad System:Modules.FPEmulator
  13. RMEnsure FPEmulator 2.80 Error The FPEmulator 2.80 module is missing - MakeJPEG cannot start.
  14. |
  15. RMEnsure InterfaceManager 2.00 RMLoad MakeJPEG:Interface
  16. RMEnsure InterfaceManager 2.00 Error The Interface Manager 2.00 module is missing - MakeJPEG cannot start.
  17. |
  18. | The following line is necessary to make Interface Manager use the correct
  19. | shadowing colour.
  20. 3dColours 4
  21. |
  22. | The next few lines are necessary to allow !MakeJPEG to run the cjpeg/djpeg
  23. | apps from ResourceFS.
  24. Set MakeJPEG$OSVersion 3
  25. RMEnsure UtilityModule 3.00 Set MakeJPEG$OSVersion 2
  26. If MakeJPEG$OSVersion="3" Then RMEnsure MakeJPEGResources 0.03 RMLoad MakeJPEG:JPEG.RFSJPEGMod
  27. If MakeJPEG$OSVersion="3" Then RMEnsure MakeJPEGResources 0.03 Error The MakeJPEG Resources module 0.03 is missing - MakeJPEG cannot start.
  28. Unset MakeJPEG$OSVersion
  29. |
  30. WimpSlot -min 32K -max 32K
  31. Run MakeJPEG:!RunImage %*0
  32.