home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 384.lha / autoscript_v1.0 / autoscript.doc < prev    next >
Text File  |  1990-05-28  |  4KB  |  89 lines

  1.          AutoScript  V1.0 
  2.  
  3.    Written 15-MAT-1990 by Tony Preston
  4.  
  5.    This program is SHAREWARE and copyrighted by Custom Services © 1990.
  6.    All Rights are reserved.  If you wish to re-distribute this program
  7.    you may so long as all the copyright notices are kept intact.
  8.  
  9.    Software developers may include this command with their products so
  10.    long as they register this program.  Installation is make simple if
  11.    you create a script that does the required setup prior and simply
  12.    copy it into the appropriate directory.
  13.  
  14.    This program  will scan a special directory for script files and 
  15.    execute each file by the priority indicated in the filename.
  16.   
  17.    This command will allow you to place scripts in the directory
  18.    indicated and by adding it to the end of your startup sequence
  19.    you will never have to edit your startup-sequence again!  To install
  20.    a program on your system that requires a script executed, just place
  21.    the script in the AutoScript directory!.
  22.   
  23.    FORMAT:
  24.    AutoScript [ <directory path> ]  [ <delay> ]
  25.   
  26.    The directory path is an optional parameter that will be used
  27.    as the directory the scripts are located in.   If you do not supply
  28.    a directory path, the logical AutoScript: will be used as the default
  29.    location for your startup scripts.  You will not be able to specify
  30.    a delay without a directory path.  
  31.   
  32.    The delay is the number of ticks you wish to wait before executing
  33.    each script.  The delay is zero, by default.  The scripts are executed
  34.    one at a time.  Ticks are 20 ms each  of a second.
  35.   
  36.    If no directory path is given, the logical AutoScript: will be used
  37.    as the location of the scripts.  The directory name is limited to 70 chars.
  38.   
  39.    Warning: no check is made for the validity of the commands in the scripts
  40.    but the failure of one script will not stop the others from running.  
  41.    Each script will use the current cli for input and output.
  42.    
  43.    The format of the filenames is:  <name>.<priority>
  44.  
  45.    The file extension is the priority.  Filenames without a numeric value
  46.    for priority will be ignored.  Priority may be any unsigned value(long 
  47.    integer).  The higher the number, the higher the priority.
  48.  
  49.    There may be up to 100 scripts in an AutoScript directory.  You may have
  50.    more than one AutoScript command in your startup-sequence.  If more than
  51.    100 files are found, only the first 100 will be processed and no warning
  52.    will be given.
  53.  
  54.    Examples:
  55.    
  56.    AutoScript  sys:AutoScript  <-- Use the AutoScript directory with no delay.
  57.  
  58.    AutoScript  sys:s  200      <-- Use the S directory with a 4 second delay
  59.                                 between scripts.    
  60.  
  61.    You may specify more than one AutoScript command in your startup-sequence.
  62.  
  63.    A typical startup-sequence now becomes(and never has to change) :
  64.  
  65.   SetPatch >NIL: r ;patch system functions
  66.   path sys:system s: sys:commands
  67.   AutoScript  sys:AutoScripts
  68.   EndCLI
  69.  
  70.    When you want to make additions to your startup, you just create a file
  71.    and put in the directory referenced in the AutoScript command.  
  72.  
  73.    The commands you previously had in the startup-sequence now are placed
  74.    in the files you put in the AutoScripts directory!
  75.  
  76.    This program is being released in the public domain and may be used,
  77.    and redistributed by anyone as long as no charge is made for it greater
  78.    than the cost of the media.  This program is shareware and if you decide
  79.    to use it, please register it.  The registration fee is $5.00.
  80.  
  81.    People that register will recieve the latest updated version and a disk
  82.    of other programs available from Custom Services.
  83.  
  84.    Send registrations to:
  85.  
  86.        Custom Services
  87.        P. O. Box 254
  88.        Moorestown, NJ 08057
  89.