home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / FileMover / Dopus4 / ArexxScripts / MultiLHArexxScript.lzx / Docs / MultiLHA.txt
Encoding:
Text File  |  1994-12-03  |  2.8 KB  |  64 lines

  1. © RAM ® TGI-SERVICES 1994
  2.  
  3. Version 2.0 03-12-1994
  4.  
  5.  
  6. MultiLHA1.rexx and MultiLHA2.rexx are the result of a recurrent need: to
  7. archive a bunch of files from different disks or directories to a single
  8. file. While waiting for all this to be accomplished, DOpus will be "busy"
  9. and not available for other uses. Hence, the MultiLHA scripts were called
  10. into being. They will allow you to select a bunch of files from a variety of
  11. disks or directories, then quietly multi-task in the background while they
  12. perform the actual archiving.
  13.  
  14. They work in 2 parts, building the filename list, and then in the second
  15. program, processing that list and archiving the files.
  16.  
  17. I have the two scripts assigned to the same button gadget, selectable with
  18. both right and left mouse buttons:
  19.  
  20. Edit your startup-sequence to read   Assign >NIL: Rexx: ???:
  21. (if you have not changed your original Startup (WB 2.x / WB 3.x)  you will not have to do this.)
  22. next copy the *.rexx to your rexx: then load DOPUS
  23.  
  24. First Load Config For Opus Find A Spare Button And Do The Following:-
  25.  
  26. Left button -  Name: MultiLHA, Function:  Rexx  Path:  REXX:MULTILHA1.Rexx,
  27. Flags:  run async,
  28. Right button - Name: Create  , Function:  Rexx  Path:  REXX:MULTILHA2.Rexx,
  29. Flags:  CD Destination / run async. 
  30.  
  31. MAKE SURE YOU ARE RUNNING REXXMAST 
  32.  
  33. MultiLHA1.dopus builds the filename list, and you can keep selecting files
  34. from different disks and directories until you get all that you want. You
  35. don't have to worry about taking files from multiple floppies, the script
  36. will ask for them back again when it needs them.
  37.  
  38. Once you have selected all the files you want, you can call the second
  39. script to actually perform the archiving function. The output file will be
  40. created in the currently selected directory, and you will be prompted for
  41. the filename.
  42.  
  43. Note that while the scripts will handle recursive directories, the number of
  44. files within those directories are not counted, I just use the * option to
  45. grab them all. If you want an accurate count, enter the directories and
  46. select all the files within it, not just the directory itself.
  47.  
  48. Note that the filelist is built up in a file called RAM:infiles.txt, and
  49. then after it is all processed, you can delete that temporary text file. 
  50. Also, the program LHA must be in C:.
  51.  
  52. If you need to abort the file selecting process and totally start over, you
  53. must manually delete the file RAM:infiles.txt, or your new list will be
  54. added to the original list. This file is not automatically deleted when the
  55. scripts complete, you have to delete it yourself if you want to abort
  56. before it is finished.
  57.  
  58. While you may not have a particular need for this type of use, the scripts
  59. make good examples of how to snatch filenames from DOpus into your own AREXX
  60. scripts for whatever you want, as well as how to send messages back to
  61. DOpus for user display.
  62.  
  63. ® RAM/TGI 1994
  64.