                TELIX AUTOCAPTURE WITH UNIQUE LOG FILENAMES
                ===========================================

                              Jules Greenstein
                             68-45 Ingram Street
                            Forest Hills, NY 11375

    When I log on to a BBS, I like to start an automatic capture file without
having either to type in a filename or to have everything piled together
into a single default logfile.  I much prefer to have a unique logfile such
as "RUNNINGB.LOG" or "THUNDERB.LOG" for each board that I log on to. I also
like to have a header with the date, time, and communication program used.

    But I hate to write out those repetitive little scripts for each BBS
and go the default route for BBS's for which I have no script.

    Fortunately, I discovered that TELIX's SALT script language allows a
way to use the Dialing Directory Name as a filename for a capture logfile.

    One thing is crucial for this to work:

    *********************************************************************
    MAKE SURE YOUR DIALING DIRECTORY NAME IS AT LEAST 8 LETTERS IN LENGTH
    AND THAT THERE ARE NO SPACES OR OTHER SYMBOLS WHICH ARE FORBIDDEN IN
                 DOS FILENAMES IN THESE FIRST 8 LETTERS!
    *********************************************************************

    This is essential, since the script simply uses the first 8 letters of the
Dialing Directory Name as the filename, with the extension .LOG, and places it
in whatever directory you choose.  You can use underlines (e.g. CHEERS__) to
pad your Directory names if you wish.

    Just use your favorite ASCII editor (such as QEDIT) to copy the section of
code below the slashmarks into your TELIX PCBOARD.SLT (or whatever other
.SLT file you choose) before compiling.

    The insert should come at the beginning of the SALT script just below
the line that says:

main()

///////////////////AutoCapture Script Insert////////////////////////////////
////////////////Insert the section below at this point//////////////////////
{
 str datebuf[16];
 str timebuf[16];
 date (curtime(), datebuf);
 time (curtime(), timebuf);
 str logfile[29] = "C:\BBS"\;           //Substitute your own drive and
 copystr (_entry_name, logfile, 7, 8);  //download directory for "C:\BBS\"
 str logext[4] = ".LOG";
 copystr (logext, logfile, 15, 4);

 capture (logfile);

 prints (":TELIX 3.11:");
 printsc ("   LOGGED ON TO ");           //Prints message on screen
 printsc (_entry_name);                  //and in the capture file
 printsc (" ON ");                       //giving the current time
 printsc (datebuf);                      //and date along with the
 printsc (" AT ");                       //capture filename taken
 prints (timebuf);                       //from the Dialing Directory.
 printsc ("         LOGGING IN ");
 prints (logfile);
 prints ("::");
////////////////End of inserted section//////////////////////////////////////


