home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / autozoc3.zip / README.TXT < prev   
Text File  |  1996-09-01  |  4KB  |  90 lines

  1. Here are a couple of REXX scripts for use with ZOC ver 3.00 and the OS/2 Shareware BBS. 
  2. These scripts will automatically call the BBS, log on, download the requested file(s)
  3. then log off.  The scripts are virtually identical except, "OS2NEW.REX", only
  4. downloads the OS2NEW.ZIP file, while "GETFILES.REX" allows you to enter up to
  5. TEN file names for downloading.
  6.  
  7. The scripts are no-brainers to use, but need a little setup inorder to customize them
  8. for your needs.
  9.  
  10. A.)  INSTALLATION
  11.  
  12. Start ZOC and check the location of the default directory were it expects to find
  13. scripts.  To do this click the "OPTIONS" menu item, then "GLOBAL" and finally
  14. "DIRECTORIES/SOUNDS".  Check the path for the heading "SCRIPTS".  The
  15. default path is usually "scripts", i.e., X:\ZOC\SCRIPTS, where X is the drive
  16. containing ZOC.  Next unzip and move the two files "OS2NEW.REX" and
  17. "GETFILES.REX" to this sub-directory.
  18.  
  19. B.)  SCRIPT CUSTOMIZATION
  20.  
  21. Using the OS/2 System Editor (or the REXX editor in ZOC) open one of the scripts. 
  22. You will see the following five lines;
  23.  
  24. user_name="XXXX XXXXXXXX"       /* your name as registered with the BBS (put in quotes) */
  25. password="XXX##XX"              /* your password as registered with the BBS (put in quotes) */
  26. bbs_num="#-###-###-####"        /* the BBS phone number (put in quotes) */
  27. min_speed=#####                 /* minimum connect speed you'll accept (NO QUOTES) */
  28. max_attempts=#                  /* maximum number of times to retry the call (NO QUOTES) */
  29.  
  30. Use the editor and change these entries to your information.  Save the file and
  31. repeat for the second script.
  32.  
  33. C.)  SETTING UP ZOC
  34.  
  35. Inorder for these scripts to work truly hands off you need to have ZOC set properly
  36. to handle the posibility of duplicate file names.  To do this start ZOC and select
  37. the "OPTIONS" menu item.  Next select "JUMP TO" and then "TRANSFER".  On page 2 of
  38. this tab you will see the heading "If File Exists and Incoming File has ...".
  39. Set the four responces as "Skip", "Skip", "Overwrite" and "Prompt user" respectively.
  40. That way you will not need to respond to any acknowledgements ("OK" buttons).
  41.  
  42. Second, and this is optional, start ZOC and click on the "OPTIONS" menu item. 
  43. Select "SETTINGS" and click on the "BUTTONS" tap.  Under the "BUTTON TEXT"
  44. heading backspace out the number "1" and type in OS2NEW.  Move to the
  45. "VALUE" field and enter "^RUN=OS2NEW.REX" (without quotes).  Do the same
  46. for line "2" but make the text say GETFILES and the value say
  47. ^RUN=GETFILES.REX.  When finished click the "SAVE" button.  Now you have
  48. two custom buttons to call up these automated features.
  49.  
  50. D.)  USING THE SCRIPTS
  51.  
  52. OS2NEW - Within ZOC click on the button for this script.  The system will call the
  53. BBS, log on, download the file and log off (with a 28800 modem this takes about
  54. 20-25 seconds).
  55.  
  56. GETFILES - After clicking on this script's button you are presented with a type-in
  57. box.  Enter the name of the first file to download (full name with extension).  You
  58. can stop the routine at any time by simply clicking the "CANCEL" button.  After
  59. typing in the file name press [Enter] or click the "OK" button, a second type-in box
  60. will come up.  Continue filling in the boxes, up to a maximum of 10.  When you've
  61. filled in all the file names you want simply press [Enter] or click "OK" while an
  62. empty type-in box is displayed and the script takes over from there.
  63.  
  64.  
  65.  
  66. NOTES:
  67.  
  68. If you're handy at all with REXX you can easily modify these scripts to work with
  69. other BBS's and other tasks.
  70.  
  71.  
  72. THE LEGAL STUFF:
  73.  
  74. This archive is FREEWARE.  That means if you downloaded it or received it
  75. from an admirer, it's yours.  You may change it as you see fit, give it
  76. away, throw it away, upload it, hell...you can even impress your friends
  77. and take credit for it.
  78.  
  79.  
  80. WARRANTY:
  81.  
  82. These files are guaranteed to do nothing more than take up space on your hard
  83. drive...PERIOD!
  84.  
  85.  
  86. AUTHOR:
  87.  
  88. Bob Pelletier
  89. DeWitt, IA
  90. Long time OS/2 user.