home *** CD-ROM | disk | FTP | other *** search
- Short: Nice datatype based processfile script
- Author: rolfrotvel@bigfoot.com
- Uploader: rolfrotvel@bigfoot.com
- Type: util/rexx
- Replaces: util/rexx/dofile50.lha
- Requires: WB 3.x (With lots of datatypes)
-
- Dofile recognizes the filetype using datatypes.library and launches the
- corresponding tool.
-
- This enables you to use your favorite viewer/player/editor instead of
- Multiview and still keep the advantage of the datatypes.library
- filetype recognition. But Dofile can also recognize files using filename
- matching.
- Both datatypes (and filename patterns) can be any AmigaDOS pattern. This
- makes it easy to group datatypes together that uses the same viewer.
-
- Very useful when installed as a do-it-all appicon in Toolmanager. It's
- also possible to use Dofile as default tool in Workbench project icons.
- You can even use a ToolAlias utility to redirect all calls to Dofile.
- And of course it also works nicely from CLI.
-
- Now you only have one global config file to change when you install eg.
- a new JPEG viewer.
-
- Other features:
- * Changes directory to the datafile directory if possible. Making it
- easier to load other files in eg. a text viewer.
- * Handles icons that has no matching file perfectly
- * Has a SHOWDATATYPE switch that displays the datatype of a file in
- a requester.
- * Uses filenotification to reread the prefs file each time you change it
- * It's possible to set the stacksize of the command
- * Dofile opens a filerequester if you don't pass it a file as argument.
- If you pass it a directory it will open the filerequester in that
- directory.
-
- 5.1 - Bugfix: The 'cd to data dir' feature didn't work properly making
- Dofile fail on files with relative paths. Now it uses
- datatypes.library to get the full path of the file.
- - Bugfix: The SHOWDATATYPE caused Dofile to 'read cfgfile and open
- Arexx port' which it shouldn't.
- - Now displays much more info when using SHOWDATATYPE VERBOSE.
- - Added some more bits and pieces to the guide file.
-