home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR10 / TLXTW110.ZIP / TLXTWDIR.SLT < prev    next >
Text File  |  1993-08-22  |  1KB  |  44 lines

  1. // tlxtwdir.slt
  2. ////////////////////////////////////////////////////////////////////////
  3. main()
  4. {
  5.  // Edit the below path to the directory where TLXTW Scripts are installed.
  6.  // Then start Telix with the "S" switch.
  7.  //
  8.  // Example:
  9.  //
  10.  // TELIX STLXTWDIR
  11.  //
  12.  // will load Telix and run the "S"cript TLXTWDIR.
  13.  //
  14.  // Or load Telix as you usually do, and assign this to a Function key,
  15.  // etc, so all you do is hit F1 (for example) to change script
  16.  // directories and load Trader.key. if you assign this to a function key
  17.  // then move this script to your normal script directory.
  18.  
  19.  //                        Edit below
  20.  
  21.  str tlxtw_dir[64] = "C:\Telix\Work\Slc\Slt\Tlxtw\";                         //
  22.  
  23.             // The above path is all you must edit.
  24.             // then cut and compile with cs.exe.
  25.             // Must end with "\".
  26.  
  27.  strcat( tlxtw_dir, "trader.key" );
  28.    if (keyload( tlxtw_dir ) > -1)
  29.      {
  30.      printsc("^M^JTrader.key loaded^M^JScript directory:  " );
  31.      fnstrip( tlxtw_dir, 12, _script_dir );
  32.      printsc( _script_dir );
  33.      printsc("^M^JAlt-F1 for Help");
  34.      printsc("^M^JAlt-H resets defaults.^M^J");
  35.      }
  36.    else
  37.      {
  38.      status_wind( tlxtw_dir, 30 );
  39.      }
  40.  return;
  41. }
  42. ////////////////////////////////////////////////////////////////////////
  43. // end of tlxtwdir.slt
  44.