DefIcons v44 © 1999 by Stephan Rupprecht All rights reserved. COPYRIGHT AND DISCLAIMER DefIcons v44 is copyrighted 1999 by Stephan Rupprecht. All rights reserved. This program is freeware, so no financial donations required. Redistribution allowed if the package is left unchanged. The author is not responsible for any damage caused by the use or misuse of this documentation and/or the program(s) it describes. Original idea and program © by Team NewIcons. Included brainfile was created in 1997 by it was updated and bugfixed by Stephan Rupprecht in 1999 :) ProcessFile.rexx was written/modified by various authors. I hope that no one bothers that I included them into the archive without asking for permission ;) REQUIREMENTS Any Amiga® (compatible) computer with at least OS3.5, a deficons.prefs file (included) and some def_xxxx.info files (both can be found in the NewIcons package. There're also some nice def_xxx.info available from other artists). DESCRIPTION DefIcons turns any faked icon (displayed when you pick the menu item Window/Show/All Files) into a more meaningful one. Depending on its prefs file, the program can identify different filetypes and supply an appropiate icon for each of them. For a complete documentation, please take a look at the original DefIcons documentation which is a part of NewIcons. INSTALLATION Copy the DefIcons44 program to your C: drawer and add the following line to your S:User-Startup Run >NIL: DefIcons44 NOTE: Unlike the original DefIcons that comes with NewIcons this program does NOT detach itself ! You can terminate the program at any time by sending CTRL-C (see cli command break) to it. Alternatively, you can start the program a second time to quit it. Oh yes, almost forgot it;) You can start the program from workbench, too :) Next copy the brainfile "deficons.prefs" to your envarc:/env: drawers. That's all. Well almost ;) If you don't have the default icons from the NewIcons package installed yet, you have to copy them to your envarc:/env: drawers, too. FREQUENTLY ASKED QUESTIONS (FAQ) Q: I have some nice icons for my ram: and pc0: disks installed but unlike the original DefIcons, I just get this ugly black and white disk icon (or the def_disk.info one). Why ? A: wb3.5 and DefIcons44 don't add a "disk" to the icon name. So, for an example, your default icon for the Ram Disk should be named def_RAM.info and not def_RAMdisk.info. BTW: Please don't ask me to change it, I just stick to the naming convention wb uses ;) Q: I made the changes, you mentioned before. But I still get this ugly b/w icon :( A: Make sure that your default icons for disks are really disk icons. If not, please use IconEdit to change them. Q: When I double-click a "faked" icon which has as default tool "c:version" (or any other c: command). I get an "Unexpected dos-packet" guru (0x07000004). What's wrong? A: The default tool is a shell command and doesn't support to be started as a wb application. Your def_whateveritwas.info file needs to be updated: Enter your ENVARC:Sys drawer, click on the icon in question and select "Information ..." from the wb menu. Now click on the "Start from:" cycle gadget 'til it shows "Shell". Save the changes :) Q: My def_lharc icon has "lha x" as default tool. Now when I try to unpack a lha file, I get an error message from wb telling me that it couldn't find the command. Again, what's wrong? A: Workbench treats the "Default tool" field as a path, which means that workbench adds quotation marks to it whenever it contains spaces (which is the case for "lha x"). This makes DOS think that "lha x" is the name of the command to start but since this command doesn't exist, DOS will fail to find it. That's why you get the error message:) I suggest to use the ProcessFile.rexx script to fix this problem: Copy the script to your REXX: drawer, make sure it has the S(cript) protection bit set and change the "Default tool:" field of the def_lharc icon to "REXX:ProcessFile.rexx". Next select "Start from: Shell" and uncheck the "Wait for input" checkbox (also see previous and next Q&A). That's all. Q: Is there any way to get rid-off this "Execute command" window when starting a shell command or (arexx) script? A: Yes, of course. Your default icon must have the NOPROMPT tool- type set ("Wait for input" checkbox unchecked). Q: Any way to get rid-off the quotation marks wb adds to the "default tool" field? A: No, there isn't. Which means that I don't want to write a patch for it ;) Q: DefIcons seems not to work. I also have TweakWB installed. A: Make sure you have the "DefIcons" function of TweakWB deactivated. The order you start the program is also important: Please start DefIcons AFTER TweakWB. HISTORY 44.0 first public release 44.1 filetype recognition didn't always work because of two minor bugs. misc internal changes. again updated deficons.prefs. added a slightly changed version of ProcessFile.rexx which views html documents by using OpenURL(.library). 44.2 added FAQ to the doc. included DefIconsPrefs. fixed lowercase conversion macro. AUTHOR Please send bug reports and ideas to: Stephan Rupprecht Apfeldweg 1 D44359 Dortmund Germany Send emails to stephan.rupprecht@gmx.de