home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
MODEM
/
CATCS15A.ZIP
/
GOCIS.TXT
< prev
next >
Wrap
Text File
|
1994-01-15
|
3KB
|
92 lines
GoCIS support requires a change to the GOCIS.TPL file.
In the [GO FORUM] section, add the following at the end,
prior to the [GO LIB] section:
; *** Added to accomodate CatCIS download scripts***
%IF FILEEXISTS &&CONTROLPATH&&FORUMNAME.DOW
%%ECHO Executing &&FORUMNAME.DOW
%%DO &&CONTROLPATH&&FORUMNAME.DOW
%%@Unable to execute &&CONTROLPATH&&FORUMNAME.DOW
%%%REMOVEACTION &&FORUMNAME Download.Files
%%%KILLFILE &&CONTROLPATH&&FORUMNAME.DOW
%%%SEND ^M
%%%WAIT FORUM !
%Echo CatCIS download check complete
;
[GO LIB]
By adding these lines to the GOCIS.TPL file, the next time you enter
a forum on CompuServe, a check is made to determine if a related *.dow
file exists. If so, it is executed, downloading files, and then erased.
It is important to note that you must cause GoCIS to enter the forum.
This may be done by any of the normal means available in GoCIS, such
as requesting a message scan, section update, etc., or using the button
defined below.
CatCIS will create the appropriate *.dow file in the directory specified
in Configure|Directories for the *.sec directory. This must be your GoCIS
control directory for the script to function properly.
The *.dow file created by CatCIS is nothing more than a simple script
and is subject to some limitations. If the file you are attempting to
download does not exist in the library, the script will get confused and
generally fail.
GoCIS Buttons for CatCIS
------------------------
You can add the following button definitions to the GOCIS.BTN file
to add buttons to GoCIS:
[CATCIS]
;
; CATCIS - Calls Catcis and loads current forum
;
Define &Caption = CatCis
Define &Icon = c:\catcis\catcis.ico
Define &Title = Load &FORUM forum library into CatCIS
Define &DragMode= 1
Shell c:\catcis\catcis.exe &ControlPath\&Forum.lbr
[.DOW Detect]
Define &Caption = CHK .DOW
Define &Icon = c:\catcis\catcis.ico
Define &Title = For each forum, set download action if .DOW file exists
For Each Forum
Echo Scanning &FORUM for .DOW File
if FileExists(&ControlPath\&Forum.dow) then
Echo Download file found in &FORUM.
Beep
Pause .15
+ACTION Download.Files
endif
Next
These assume that CatCIS is located in the C:\CATCIS directory.
Microsoft Software Library Support
----------------------------------
The Microsoft Software Library is not in the conventional forum format, so
the file MSLLBR.SCR is included. Add this file to your SCRIPTS directory
and use it to create the MSL.LBR file the first time you create the library.
Read the comments at the top of the file to change it to fit your needs,
especially the number of days over which the search for files will be conducted.
Once you have the msl.lbr file, you can use CatCIS' update functionality
to update the catalog. On the update dialog, select one of the MSL options
to create the MSL.SCR file in your scripts directory. Execute this script
to update the library.
There are two options for MSL downloads, one without the logoff option
and one with it. These may be chosen from the drop down list on the
download dialog box. CatCIS will then create a script file named MSLDL.SCR
in the scripts directory that you may run to download files from the
library.