home *** CD-ROM | disk | FTP | other *** search
- AutoScript V1.0
-
- Written 15-MAT-1990 by Tony Preston
-
- This program is SHAREWARE and copyrighted by Custom Services © 1990.
- All Rights are reserved. If you wish to re-distribute this program
- you may so long as all the copyright notices are kept intact.
-
- Software developers may include this command with their products so
- long as they register this program. Installation is make simple if
- you create a script that does the required setup prior and simply
- copy it into the appropriate directory.
-
- This program will scan a special directory for script files and
- execute each file by the priority indicated in the filename.
-
- This command will allow you to place scripts in the directory
- indicated and by adding it to the end of your startup sequence
- you will never have to edit your startup-sequence again! To install
- a program on your system that requires a script executed, just place
- the script in the AutoScript directory!.
-
- FORMAT:
- AutoScript [ <directory path> ] [ <delay> ]
-
- The directory path is an optional parameter that will be used
- as the directory the scripts are located in. If you do not supply
- a directory path, the logical AutoScript: will be used as the default
- location for your startup scripts. You will not be able to specify
- a delay without a directory path.
-
- The delay is the number of ticks you wish to wait before executing
- each script. The delay is zero, by default. The scripts are executed
- one at a time. Ticks are 20 ms each of a second.
-
- If no directory path is given, the logical AutoScript: will be used
- as the location of the scripts. The directory name is limited to 70 chars.
-
- Warning: no check is made for the validity of the commands in the scripts
- but the failure of one script will not stop the others from running.
- Each script will use the current cli for input and output.
-
- The format of the filenames is: <name>.<priority>
-
- The file extension is the priority. Filenames without a numeric value
- for priority will be ignored. Priority may be any unsigned value(long
- integer). The higher the number, the higher the priority.
-
- There may be up to 100 scripts in an AutoScript directory. You may have
- more than one AutoScript command in your startup-sequence. If more than
- 100 files are found, only the first 100 will be processed and no warning
- will be given.
-
- Examples:
-
- AutoScript sys:AutoScript <-- Use the AutoScript directory with no delay.
-
- AutoScript sys:s 200 <-- Use the S directory with a 4 second delay
- between scripts.
-
- You may specify more than one AutoScript command in your startup-sequence.
-
- A typical startup-sequence now becomes(and never has to change) :
-
- SetPatch >NIL: r ;patch system functions
- path sys:system s: sys:commands
- AutoScript sys:AutoScripts
- EndCLI
-
- When you want to make additions to your startup, you just create a file
- and put in the directory referenced in the AutoScript command.
-
- The commands you previously had in the startup-sequence now are placed
- in the files you put in the AutoScripts directory!
-
- This program is being released in the public domain and may be used,
- and redistributed by anyone as long as no charge is made for it greater
- than the cost of the media. This program is shareware and if you decide
- to use it, please register it. The registration fee is $5.00.
-
- People that register will recieve the latest updated version and a disk
- of other programs available from Custom Services.
-
- Send registrations to:
-
- Custom Services
- P. O. Box 254
- Moorestown, NJ 08057
-