RepIcon v1.1 10.10.96 (c) '96 Christian Bednarek Emser Str. 375 56076 Koblenz 0261/75161 e-mail: cbednare@abo.rhein-zeitung.de IRC : EAZY (#amigager) ----------------------- What'thatallabout? ----------------------- That' eazy :) Some weeks ago I started learning C with the help of the SAS-C compiler. Fortunately there exist a lot of archives with sources :) One of them is the 'cmanual' (which wasn't that helpful btw...). Unfortunately it has some very old'n'ugly icons in it. I had to exchange them all by hand. A boring and stupid thing ;( For this was not the first time I did work like that to keep my HD free of such icons I decided to do smth. against it. The result is 'repicon'. It replaces all images of icons of a specified type which match to a certain pattern by a user-defined iconimage. Well, I must admit - that's nothing exciting at all. But it is my first tool and it WORKS! (uahhh!) and did not crash at all (even during development :)) --------------------------------- Buthowdoesthatstrangethingwork? --------------------------------- Seems to be eazy too :) The argument-template looks like this REPICON [DIR/K] ICONTYPE/A [DEFICON/K] [MATCHICON/K] [DEEP/S] DIR : Directory from which repicon starts its work. ICONTYPE : DRAWER|TOOL|PROJECT|GARBAGE|DEVICE|KICK|DISK Type of the icons which are to be replaced. You cannot specify more than one type on each call of repicon. Surely it would be of advantage to specify actions on more than one icontype, but I'll leave this goodie to a future (MUI-)GUI-Version DEFICON : (default-) icon, from which the images are to be taken to replace the old ones. Default is envarc:sys/def_icontype. MATCHICON: This icon is used to match the found ones. If the images are the same the icon will be replaced by deficon. If not, it will be left. This is not a matchstring! Only the images will be matched! DEEP: If this option is specified, repicon will work recursivly starting from DIR/K. Examples??? REPICON DIR=SYS: ICONTYPE=DRAWER DEFICON=ICONARC:newdrawer.info MATCHICON=ENVARC:SYS/def_drawer.info replaces all drawer-icons in SYS: that matches with envarc:sys/def_drawer.info with the iconimages in ICONARC:newdrawer.info. REPICON DIR=TOOLS: ICONTYPE=TOOL DEFICON=ICONARC:tool.info DEEP ersetzt vom Verzeichnis TOOLS: ausgehend rekursiv alle Tool-Icons durch ICONARC:tool.info replaces all tool-icons in TOOLS: recursivly with iconarc:tool.info got it? ;) If any error occurs on interpreting the arguments or if repicon is launched from the WB, repicon starts some kind of requester-dialog that replaces the arguments on cli. ------------------------- somethingelsetobesaid? ------------------------- Well. That's it. I hope you won't find too many errors :) If you really found a bug, please report to the adresses listed above. ---------------------- thanksgoto ---------------------- - my patiend woman - not to be too upset by me sitting all night in front of my (2nd.) amiga ;) - the fantastic 4. Their music keeps my motivation alive :) - Olaf Barthel, whose sources to Term helped me very much! - danny on #amigager (IRC). He gave me the inspiration to this thingie :)) --------------------------------- small history: 1.0 04.10.96 very first official release :) 1.1 10.10.96 error with missing DIR-argument found (argl! had a progdir: instead of the current dir lock...) added the requester-dialog since the gui is not ready yet.