home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
468.lha
/
ToolManager_v1.2
/
ToolManager.doc
< prev
next >
Wrap
Text File
|
1991-02-08
|
4KB
|
102 lines
Documentation for ToolManager 1.2 13.01.1991
This is program is FreeWare. The author is not responsible for any damage
caused by the use of this program.
I. What is ToolManager?
With ToolManager you can add your own programs to the Tools menu of the 2.0
Workbench. The name of the programs can be given at startup (CLI or Workbench
parameters) or in a configuration file. Furthermore the user can drop a Tool or
Project icon on the program's icon (or its status window) to add a tool to the
list.
BEWARE: This program makes heavely use of the new 2.0 functions, so its
completely useless to all people who are still forced to use 1.3 :-)
II. How to start ToolManager
- From CLI: Run ToolManager [<program 1>] ... [<program n>]
If you want to use it in your Startup-Sequence, you will need to redirect its
standard I/O or use RunBack. The name of program x will also be the name of its
corresponding menu item.
- From Workbench: <Click on ToolManager's icon>
[<Click on program 1's icon>] ...
[<Double click program n's icon>]
If you selected a Tool icon, its name will also be the name of the menu item.
If you selected a Project icon, the icon name will be the name of the menu
entry. The default tool of this icon will be called if the menu item is
selected.
After the program has started, you will see a neat icon. Only one ToolManager
can be active at a time, so every try to start it a second time will fail!
III. The configuration file
ToolManager scans also a file called "S:ToolManager.config". It consists of
lines which look as follows:
<Menu entry name>[;<Real program name>]
If only one name is given, it will be the name of the menu entry and also of
the program to be called for this entry. If two names are given, the first will
be the name of the menu entry and the second one will be the name of the
program to be called.
To create a dummy entry without function, use:
<Dummy menu entry name>;
Look at the example configuration file.
IV. How to use ToolManager
When ToolManager is active, you can see additional entries in the Workbench
Tools menu. To start a tool you select its entry. Easy, isn't it? There is a
special menu entry called "Quit ToolManager", which causes ToolManager to quit.
It also quits if you send his process a break signal.
If you double-click the ToolManager icon, it opens the status window. To add a
new tool, you just drag a Tool (or Project) icon on ToolManager's icon or on
the status window and it will be added to the menu.
The status window contains a list of all tool names. To remove a tool, you
select a name from the list and click the "Remove Tool" button. If you select
the "Save configuration" button, the actual tool list will be saved in the
configuration file. The window remembers its position when you close it.
V. How to compile ToolManager
This program was developed with DICE (nice job Matt!). You will need the
registered version, because I used the __chip keyword, but DICE is worth its
$40 anyway. Of course you need the 2.0 include files and the 2.0 amiga.lib.
TODO
- Icon for Workbench usage
- Better looking internal icon (hey, I'm not a painter :-)
- Support for different configuration files
- Add tools at runtime with a second call of ToolManager
HISTORY
1.2: Release version (13.01.1991)
- Status window changed to a no-GZZ & simple refresh type
(this should save some bytes)
- Status window remembers its last position
- New status window gadget "Save Configuration": saves the actual tool
list in the configuration file
- Small bugs removed in the ListView gadget handling
- Name of the icon hard-wired to "ToolManager"
1.1 Release version (01.01.1991)
- Icons can be dropped on the status window
- Status window contains a list of all tool names
- Tools can be removed from the list
1.0 Release version (04.11.1990)
- Initial release
THANKS TO
- Brian Wright (IRCnick: VanHalen) for his suggestions
Send comments or bug reports to:
Domain: stefanb@informatik.rwth-aachen.de
Bang : ..mcvax!unido!rwthinf!stefanb
FIDO : 2:242/7.6