home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d3xx
/
d325
/
batchman.lha
/
Batchman
/
Batchman.doc
< prev
next >
Wrap
Text File
|
1990-02-27
|
4KB
|
119 lines
Welcome To Bachman V1.1.
This is an update to the version that was published in the Amigo Times.
WHAT IS BATCHMAN?
Batchman is a program that allows the user to execute CLI programs and
batch files simply by clicking on a gadget. It can be used as the center
of a turnkey system, where the user simply clicks on gadgets to launch
applications.
I use it in my start-up sequence to launch programs that I would like
executed at boot time. This allows a startup sequence to be interactive;
the user can pick different batch files to execute.
OK, HOW DO I USE IT?
Batchman expects to load in a file that tells it what batch files and
executables to use. If none is specified, or the program is launched from
the WorkBench, then it will look in the S: directory for a file called
"Batchman.dat".
The format of the file looks like this:
Pathname Name Option
Where Pathname is the FULL path name of the file (no spaces), Name is the
name that the user wants to appear in the gadget (15 letters max, no
spaces). Option is a one letter command: 'R' implies that Pathname is a
batchfile, and that Batchman is to stay in memory after executing the
batchfile. 'Q' means to quit after executing the batchfile. 'C' implies
that it is an executable program. Batchman automatically stays in memory
after executing an executable.
The user can add parameters to their batchfiles or commands by typing in
the string gadget at the bottom of the window.
Here's an example of my configuration file:
S:Trans.bat Transcript Q
S:Advantage.bat Advantage Q
S:ProWrite.bat ProWrite Q
S:Transcript.bat Trans+Spell Q
S:ProPage.bat ProPage Q
S:PageSetter.bat PageSetter Q
S:ProDraw.Bat ProDraw Q
S:DPaint.Bat DeluxePaint Q
S:Opticks.bat Opticks Q
S:BattleChess.bat BattleChess Q
S:ATalk.bat ATalk_III Q
S:Mand.bat MandelVroom Q
S:Rollodex.bat Rollodex R
S:SwitchADV Adv_Dev Q
S:SwitchM2 M2_Dev Q
S:SwitchStandard Standard Q
S:SwitchBIG Big_Screen Q
It is not necessary to group the lines, but there are 4 gadgets per line
on the window, and this helps me arrange things (me, the human, not
batchman, the program).
I've included the source, which is in Benchmark Modula 2, so someone can
modify the program to suit his/her/its preferences.
Batchman, Copyright © Michal Todorovic, 1988. I give everyone and anyone
the right to distribute Batchman as long as the following conditions are
held:
- The program, its source, and this document are included in the
distribution.
- It is not modified in ANY way. However, I do give the user
permission to modify the program for his/her/its personal use.
- It can not be included as part of a commercial program without
the author's permission.
- It can not be included on a disk magazine without the author's
permission.
I specifically give the right for user groups, bulletin boards which do not
claim copyright over their contents, and Fred Fish to distribute Batchman
as long as the above conditions are held.
I can be reached at
Michal Todorovic
440 Whitman # 49
Goleta, CA 93117
For comments, criticisms, etc. You don't have to send money, but none will
be turned down. If there is sufficient interest in the program, I will add
the following features:
- Execute ARexx scripts.
- Change configuration files during program execution.
- Add an Arexx port (if I can think of a use for one...)
- Give the user more control over some internal options:
- Number of characters in gadget
- Number of columns, rows.
- Initial size and placement of window
- Allow spaces in file names and names in gadgets
If you make a neat modification to the program, send it to me, and I'll
give you the credit in the next distribution if I like it, or haven't
already implemented it.
Enjoy.