home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 274.lha / Scripit_v1.0 / Docs / AutoScr.DOC < prev    next >
Text File  |  1989-08-06  |  1KB  |  47 lines

  1.                                 AutoScript
  2.                                 ----------
  3.  
  4.  
  5.                         Scripit Auto Script Maker:
  6.                         --------------------------
  7.  
  8.  
  9. This will take a normal Scripit script file and make it into an auto-
  10. running script.  i.e.  Instead of typing 'Scripit scriptname' you only
  11. have to type 'scriptname'.
  12.  
  13.  
  14. Command format:
  15.  
  16. Format: AutoScript <scriptname> [<destination directory>]
  17.  
  18. e.g.  You have a script file in the current directory called 'Shrink'.
  19.       Type 'AutoScript Shrink S:'
  20.  
  21.       This will read the file 'Shrink' and write a new file called
  22.       'S:Shrink'.
  23.  
  24.       Contents of File 'Shrink':
  25.  
  26.           SELECT ACTIVE
  27.           MOVETO 0,0
  28.           MINSIZE
  29.  
  30.       Contents of File 'S:Shrink':
  31.  
  32.           Scripit S:Shrink
  33.           ;SELECT ACTIVE
  34.           ;MOVETO 0,0
  35.           ;MINSIZE
  36.  
  37.       AutoScript will also set the 's' protect bit on S:Shrink.
  38.       
  39.       After doing this, type 'Shrink' from the CLI will automatically
  40.       load Scripit, and then load and execute the script file.
  41.       (When Scripit executes a file, it will ignore the semi-colon
  42.       if its the first character in the line.)  The default destination
  43.       directory is RAM:.  Make sure that the CLI's search path is
  44.       set to the directory that the script file is in.
  45.  
  46. NOTE: This only works with text script files, not with compiled scripts.
  47.       (I am looking for a way to correct this.)