home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / autozoc.zip / README.TXT < prev   
Text File  |  1995-11-19  |  4KB  |  88 lines

  1. Here are a couple of REXX scripts for use with ZOC 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 one, "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="XXXXX XXXXXXX"       /* your name as registered with the BBS (put in quotes) */
  25. PASSWORD="XXXX"                 /* 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 come up in
  36. "Unattended" mode.  To do this simply open the setting notebook of the ZOC icon
  37. and put "/U" in the parameters field.  That way you will not need to respond to any
  38. acknowledgements ("OK" buttons).
  39.  
  40. Second, and this is optional, start ZOC and click on the "OPTIONS" menu item. 
  41. Select "SETTINGS" and click on the "BUTTONS" tap.  Under the "BUTTON TEXT"
  42. heading backspace out the number "1" and type in OS2NEW.  Move to the
  43. "VALUE" field and enter "^RUN=OS2NEW.REX" (without quotes).  Do the same
  44. for line "2" but make the text say GETFILES and the value say
  45. ^RUN=GETFILES.REX.  When finished click the "SAVE" button.  Now you have
  46. two custom buttons to call up these automated features.
  47.  
  48. D.)  USING THE SCRIPTS
  49.  
  50. OS2NEW - Within ZOC click on the button for this script.  The system will call the
  51. BBS, log on, download the file and log off (with a 28800 modem this takes about
  52. 20-25 seconds).
  53.  
  54. GETFILES - After clicking on this script's button you are presented with a type-in
  55. box.  Enter the name of the first file to download (full name with extension).  You
  56. can stop the routine at any time by simply clicking the "CANCEL" button.  After
  57. typing in the file name press [Enter] or click the "OK" button, a second type-in box
  58. will come up.  Continue filling in the boxes, up to a maximum of 10.  When you've
  59. filled in all the file names you want simply press [Enter] or click "OK" while an
  60. empty type-in box is displayed and the script takes over from there.
  61.  
  62.  
  63.  
  64. NOTES:
  65.  
  66. If you're handy at all with REXX you can easily modify these scripts to work with
  67. other BBS's and other tasks.
  68.  
  69.  
  70. THE LEGAL STUFF:
  71.  
  72. This archive is FREEWARE.  That means if you downloaded them or received them
  73. from an admirer, they're yours.  You may change them as you see fit, give them
  74. away, throw them away, upload them, hell...you can even impress your friends
  75. and take credit for them.
  76.  
  77.  
  78. WARRANTY:
  79.  
  80. These files are guaranteed to do nothing more than take up room on your hard
  81. drive...PERIOD!
  82.  
  83.  
  84. AUTHOR:
  85.  
  86. Bob Pelletier
  87. DeWitt, IA
  88. Long time OS/2 user.