home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Exec 3
/
CD_Magazyn_EXEC_nr_3.iso
/
Recent
/
util
/
rexx
/
dofile50.readme
< prev
next >
Wrap
Text File
|
2000-07-23
|
2KB
|
39 lines
Short: Nice datatype based processfile script
Author: rolfrotvel@bigfoot.com
Uploader: rolfrotvel@bigfoot.com
Type: util/rexx
Replaces: util/rexx/dofile42.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.0 - Almost a complete rewrite.