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 >
Wrap
Text File
|
1989-08-06
|
1KB
|
47 lines
AutoScript
----------
Scripit Auto Script Maker:
--------------------------
This will take a normal Scripit script file and make it into an auto-
running script. i.e. Instead of typing 'Scripit scriptname' you only
have to type 'scriptname'.
Command format:
Format: AutoScript <scriptname> [<destination directory>]
e.g. You have a script file in the current directory called 'Shrink'.
Type 'AutoScript Shrink S:'
This will read the file 'Shrink' and write a new file called
'S:Shrink'.
Contents of File 'Shrink':
SELECT ACTIVE
MOVETO 0,0
MINSIZE
Contents of File 'S:Shrink':
Scripit S:Shrink
;SELECT ACTIVE
;MOVETO 0,0
;MINSIZE
AutoScript will also set the 's' protect bit on S:Shrink.
After doing this, type 'Shrink' from the CLI will automatically
load Scripit, and then load and execute the script file.
(When Scripit executes a file, it will ignore the semi-colon
if its the first character in the line.) The default destination
directory is RAM:. Make sure that the CLI's search path is
set to the directory that the script file is in.
NOTE: This only works with text script files, not with compiled scripts.
(I am looking for a way to correct this.)