home *** CD-ROM | disk | FTP | other *** search
- NewTool v38.203
- Release 2.0a
-
- NewTool and this documentation are Copyright © 1993 by Michael Barsoom.
-
- -+- License -+-
-
- NewTool may be freely distributed as long as no charge is made other
- than to cover time and copying costs. This should be no higher than what
- Fred Fish charges from one of his freely redistributable disks.
-
- You may not copy and/or distribute this program without the accompanying
- documentation unless you get permission from the author to do so.
-
- Fred Fish has permission to include this program on his FD disks/CDRoms.
-
- -+- Disclaimer -+-
-
- This product is sold "as is" without representation or warranty of
- any kind, either expressed or implied. The user assumes all risks and
- responsibilities related to its use.
-
- -+- Introduction -+-
-
- NewTool will change the default tool of project and disk icons automatically
- in one of three ways:
- 1) You can specify the default tool to use
- 2) You can use a file requester to pick the default tool
- 3) You can have new tool automatically pick the right default tool depending
- on the file type.
- I wrote it to be used from DOpus or from programs that add programs to the
- Tools menu (ie. ToolManager © Stefan Becker or ToolDaemon © Nico Francois)
-
- -+- Requirements -+-
-
- 1) Workbench 2.0+
- 2) ReqTools library v38+ (© Nico Francois)
- 3) WhatIs library (© S.R. & P.C.)
- 4) some icons.
-
- -+- Usage -+-
-
- From CLI only.
-
- NewTool <icons> <default tool | REQ=REQUEST | AUTO>
-
- 1) Replace default tool with specified tool.
-
- For example: NewTool newtool.doc multiview
- Will replace the default tool of newtool.doc.info to multiview.
-
- 2) Use file requester to choose new default tool.
- You can also use the ReqTools file requester to choose the default tool. To
- do this specify the default tool as REQ=REQUEST, this will bring up the file
- requester for you to choose the default tool you want.
-
- For example: NewTool newtool.doc REQUEST
- Will let give you a file requester to choose the new default tool for
- newtool.doc.info.
-
- 3) Have NewTool automaticaly choose the new default tool depending on the
- configuration file and what the file type is.
- (see example config file to see how to configure this to your liking)
-
- For example: NewTool newtool.doc AUTO
- Will parse the file determine what type of file it is and change the default tool
- to the one specified in ENV:NewTool.prefs or S:NewTool.prefs
-
- Note:
- You may specify as many icons as you wish (with or without the .info), but the
- last argument must be either the tool you wish to use as the default or one of
- the two keywords.
-
- -+- Thanks -+-
-
- To my loving wife Barbara.
-
- -+- Bugs, Suggestions -+-
-
- you can reach me at:
-
- 5524 Pine Street
- Omaha NE 68106
- USA
-
- Internet: mbars@creighton.edu
- Fidonet: Mike Barsoom @ 1:285/11.9
- AmigaNet: Mike Barsoom @ 40:200/10.9
-
- -+- History -+-
- v37.100 Release 1.0
-
- v37.201 Release 2.0
-
- o Now requires WhatIs library. Can change the default tool according to
- what the file type is.
- o If one of the required libraries was not found, the other libraries
- were not closed before exiting (fixed).
-
- v37.203 Release 2.0a
-
- o Cleaned up code a bit making the executable shorter.