Short: Change DefaultTool_Entrys Author: joerg riemer Uploader: joerg riemer Type: util/cli Version: 1.3 Replaces: util/cli/SetDTool.* Requires: Kickstart V37+ Architecture: m68k-amigaos Date: 13.08.2000 SetDTool is a short cli-program (exactly 980 bytes) to modify the DefaultTool_Entry in a Project_Icon. i couldn't found any in the aminet that want work simple in the same way like this one. the reason i have written this piece. ** history ********************************************************** SetDTool v1.3 sourcecode: 14 date: 13.08.2000 options LIST/S,ALL/S added SetDTool v1.1 sourcecode: 10 date: 02.04.2000 removed some stupid error-handling! SetDTool V1.0 sourcecode: 09 date: 21.03.2000 first release ** usage ************************************************************ SetDTool Template: FILE/A,TOOL/K,LIST/S,ALL/S,,QUIET/S FILE/A Path/Filename etc. TOOL/K The new DefaultTool string, requires TOOL as keyword. LIST/S List Project_Icons only, does not changes anything. ALL/S Edit all Project_Icons given by the current path and all Sub-Directories into. QUIET/S If given, SetDTool will do not print anything to the window. Example: SetDTool DH0:Picture/MyPic.info TOOL MultiView QUIET SetDTool supports pattern-matching. it is useful if you want to change the DefaultTool_Entry in a couple of Project_Icons. Example: SetDTool DH1:Icons/#? TOOL SYS:Tools/IconEdit for further information about pattern-matching take look in your AmigaDOS manual. for another example, you maybe want to clear an entry in a Project_Icon then type follows: SetDTool DH1:Icons/def_project.info TOOL "" it is also possible to integrate SetDTool in DOpus. read the DirectoryOpus manual how to create either a Button or a MenuItem using SetDTool. ** bit information ************************************************** SetDTool only edits Project_Icons. any other File will be skipped by printing an error (212): object is not of required type. SetDTool is written in assembler. the sourcecode is highly optimized, well structured and for this revision (no.10) completely position independent. is anybody interested in writing assembler? here is a good example to learn from. EVERYTHING IN THIS DISTRIBUTION MUST BE KEPT TOGETHER, IN ORIGINAL AND UNMODIFIED FORM. THE SOURCECODE OF SETDTOOL IS FOR PRIVATE INVESTIGATIONS ONLY! ANY CHANGES TO THE SOURCE REQUIRES MY PERMISSION! *** USE AT YOUR OWN RISK *** for suggestions, hints, tips and/or questions send an email to: joerg_riemer@freenet.de joerg...