home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / MODEM / CATCS15A.ZIP / GOCIS.TXT < prev    next >
Text File  |  1994-01-15  |  3KB  |  92 lines

  1. GoCIS support requires a change to the GOCIS.TPL file.  
  2. In the [GO FORUM] section, add the following at the end, 
  3. prior to the [GO LIB] section:
  4.  
  5. ; *** Added to accomodate CatCIS download scripts***
  6.   %IF FILEEXISTS &&CONTROLPATH&&FORUMNAME.DOW
  7.     %%ECHO Executing &&FORUMNAME.DOW
  8.     %%DO &&CONTROLPATH&&FORUMNAME.DOW
  9.       %%@Unable to execute &&CONTROLPATH&&FORUMNAME.DOW
  10.       %%%REMOVEACTION &&FORUMNAME Download.Files    
  11.       %%%KILLFILE &&CONTROLPATH&&FORUMNAME.DOW
  12.       %%%SEND ^M
  13.       %%%WAIT FORUM !
  14.   %Echo CatCIS download check complete
  15. ;
  16.  
  17. [GO LIB]
  18.  
  19.  
  20. By adding these lines to the GOCIS.TPL file, the next time you enter
  21. a forum on CompuServe, a check is made to determine if a related *.dow
  22. file exists.  If so, it is executed, downloading files, and then erased.
  23.  
  24. It is important to note that you must cause GoCIS to enter the forum.
  25. This may be done by any of the normal means available in GoCIS, such
  26. as requesting a message scan, section update, etc., or using the button
  27. defined below.  
  28.  
  29. CatCIS will create the appropriate *.dow file in the directory specified
  30. in Configure|Directories for the *.sec directory.  This must be your GoCIS
  31. control directory for the script to function properly.
  32.  
  33. The *.dow file created by CatCIS is nothing more than a simple script
  34. and is subject to some limitations.  If the file you are attempting to 
  35. download does not exist in the library, the script will get confused and
  36. generally fail.
  37.  
  38.  
  39. GoCIS Buttons for CatCIS
  40. ------------------------
  41. You can add the following button definitions to the GOCIS.BTN file
  42. to add buttons to GoCIS:
  43.  
  44. [CATCIS]
  45. ;
  46. ; CATCIS - Calls Catcis and loads current forum
  47. ;
  48.     Define &Caption = CatCis
  49.     Define &Icon    = c:\catcis\catcis.ico
  50.     Define &Title   = Load &FORUM forum library into CatCIS
  51.     Define &DragMode= 1
  52.     Shell c:\catcis\catcis.exe &ControlPath\&Forum.lbr
  53.  
  54. [.DOW Detect]
  55.     Define &Caption = CHK .DOW
  56.     Define &Icon    = c:\catcis\catcis.ico
  57.     Define &Title   = For each forum, set download action if .DOW file exists
  58.  
  59.     For Each Forum
  60.         Echo Scanning &FORUM for .DOW File
  61.         if FileExists(&ControlPath\&Forum.dow) then
  62.             Echo Download file found in &FORUM.
  63.             Beep
  64.             Pause .15
  65.  
  66.             +ACTION Download.Files
  67.  
  68.         endif
  69.     Next
  70.  
  71. These assume that CatCIS is located in the C:\CATCIS directory.
  72.  
  73. Microsoft Software Library Support
  74. ----------------------------------
  75. The Microsoft Software Library is not in the conventional forum format, so
  76. the file MSLLBR.SCR is included.  Add this file to your SCRIPTS directory
  77. and use it to create the MSL.LBR file the first time you create the library.
  78. Read the comments at the top of the file to change it to fit your needs, 
  79. especially the number of days over which the search for files will be conducted.
  80.  
  81. Once you have the msl.lbr file, you can use CatCIS' update functionality
  82. to update the catalog.  On the update dialog, select one of the MSL options
  83. to create the MSL.SCR file in your scripts directory.  Execute this script
  84. to update the library.
  85.  
  86. There are two options for MSL downloads, one without the logoff option
  87. and one with it.  These may be chosen from the drop down list on the
  88. download dialog box.  CatCIS will then create a script file named MSLDL.SCR
  89. in the scripts directory that you may run to download files from the
  90. library.
  91.  
  92.