Short: Adds icons to files based on type of file!! Hydra/LSD Author: dom@dsltd.force9.net (Dominic Clifton, Hydra/LSD) Uploader: dom@dsltd.force9.met Version: 1.6 Type: util/wb Requires: OS 2.04+ Uses less memory if you have 3.0+, Reqtools (Supplied) /X name: LSDDASC16.LHA FileID: This is the file id (contained within archive as file_id.diz) [- Hydra/LSD -] === [- Deluxe Software -] __ .: __ _____ ____ . oo /\ / / / ___// __ \ .: \/ \/ / / \__ \/ / / / :| __ / /______/ / /_/ / /\ Oo /_____/____/_____/ \/ \/ Presents {=- Associate V1.6 -=} By Hydra A rather kewl WB2.04+ util for creating icons for files depending on the type of file dropped onto the appicon. [- Hydra/LSD -] === [- Deluxe Software -] Introduction ============ Associate is a rather cool Workbench utility who's job is to create icons for files that you drop on it's appicon.. If (like me) you use the wb quite alot and then use the cli to create a few files as well you soon end up with lots of files that are missing icons.. So you then have to go to the workbench and do one of those annoying "Show -> All Files" from the menu which then shows the files without icons.. This is where Associate is usefull.. First you define a few different types of files, e.g. Pictures, Lha's, Source Code, Document files and so on within the config part of the program. then you do your "show all files" and drag one of the files without an icon onto Associate's appicon (an appicon is an icon that sit's on the main workbench window). Associate will then try and match the file you dropped on it to one of the filetypes you specified. It matches the files first by looking at the filename and matching it to a wildcard string that you enter. (E.G. "#?.IFF" for picture files) If it can't find a match on the filename it will then try to match the file by looking at the first 20 bytes of the file and comparing that to a wildcard string you supplied for that type of file (E.G. "-lh?-" for .LHA files). If it can't find any match accociate will pop up a small requester prompting you to select the file's type from a list. Associate will then copy the icon associated with that file type to the to the file you dragged onto associate. You can also drag more than one file onto Associate and these may be from any open window. If all that sounds complicated then don't worry.. it's just my cr*p way of explaining things.. Here's a practical example. Say you write lots of source code and have a file called "HELLO.C" in a directory called "DH0:Source/Test". If you then drag the icon for "HELLO.C" from workbench, after doing a "Show->All Files", onto associate. Associate then looks at the file and matches the extension to a source code file (because of the "#?.c" pattern defined for source code files) . It will copy a nice icon that looks like a picture of some source code to "DH0:Source/Test/HELLO.C.INFO" Distribution ============ Associate is FreeWare :-) (Gosh I'm soooo nice) This program (Associate) and all it's files may be distributed to whoever you may feel like giving it to in any way you see fit on the condition that you don't change anything in it's documentation or code without first having contacted me. Permission is herby granted to distribute this file on PD disks and collections and so on but don't charge loads of money.. You can put this program on cover/subscriber disks on magazines if you like, but PLEASE let me know if you are going to .. Changes ======= V1.6 * Gave all requesters keyboard shortcuts * Updated a couple of incorrect version strings. V1.5 * Added two more options to the requesters that appear, "All This Type" "All First (Recognised Type)" * Fixed a bug with the SelectType not actually bringing up the window! * You can also double click on the file types in the PickWindow * instead of just saving the prefs when you click on "Save" it now closes the config window too. (more like other prefs programs do) -> Uploaded to Aminet! The Author ========== Associate was written by Dominic Clifton - Deluxe Software Ltd, Alias Hydra/LSD E-Mail: dominicc@macmillan.co.uk (only until 29/01/96) Mail: Deluxe Software Ltd, 9 Shires Copse, Southbourne, Bournemouth, Dorset BH6 4AL. ENGLAND Phone: +44 (0)973 524877 (ANytime up till 10:00pm) +44 (0)1202 434858 (Ditto) Modem: +44 (0)1202 434121 (24Hrs) WWW: http://homepages.force9.net/dsltd Greets ====== Amiga Shopper Magazine for putting this on their cover disk! :-) First Edition Cruise! Daffy Duck Sasha Lazzer Patriot Huk/Ex-PSX Mub/LSD Fish/LSD Equalizer/? Cobra/MNCS Raider/MNCS Neutralizer/Ex-TSN And YOU the user for actually reading this bit :-) ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 1233 601 51.2% 15-Jul-97 22:44:32 Associate_V1.6.info 18042 6762 62.5% 15-Jul-97 23:44:20 +Associate.Guide 1911 755 60.4% 15-Jul-97 23:44:20 +Associate.Guide.info 5000 2365 52.7% 15-Jul-97 23:44:10 +Associate_1_6.readme 1595 663 58.4% 15-Jul-97 23:44:10 +Associate_1_6.readme.info 37312 19622 47.4% 15-Jul-97 23:09:40 +Associate_WB20 2411 1417 41.2% 15-Jul-97 23:31:56 +Associate_WB20.info 37384 19599 47.5% 15-Jul-97 23:34:22 +Associate_WB30 2411 1418 41.1% 15-Jul-97 23:34:40 +Associate_WB30.info 1233 598 51.5% 11-Jul-97 20:13:00 +ExampleConfig.info 1606 444 72.3% 11-Jul-97 20:12:58 +Associate.cfg 1571 985 37.3% 11-Jul-97 20:12:58 +Associate.cfg.info 114 98 14.0% 11-Jul-97 20:12:58 +Readme.TXT 1499 583 61.1% 11-Jul-97 20:12:58 +Readme.TXT.info 427 233 45.4% 15-Jul-97 23:46:28 +file_id.diz 552 293 46.9% 15-Jul-97 23:46:28 +file_id.diz.info 1233 594 51.8% 11-Jul-97 20:13:00 +Icons.info 1104 446 59.6% 11-Jul-97 20:12:58 +def_archive.info 1504 247 83.5% 11-Jul-97 20:12:58 +def_blank.info 1603 1077 32.8% 11-Jul-97 20:12:56 +def_cdrom.info 1533 1066 30.4% 11-Jul-97 20:12:58 +def_datatype.info 1648 1137 31.0% 11-Jul-97 20:12:56 +def_disk.info 1813 1290 28.8% 11-Jul-97 20:12:58 +def_Document.info 1233 596 51.6% 11-Jul-97 20:12:56 +def_drawer.info 875 436 50.1% 11-Jul-97 20:12:58 +def_gfx.info 1911 753 60.5% 11-Jul-97 20:12:58 +def_Guide.info 1498 509 66.0% 11-Jul-97 20:12:56 +def_HBBSFile.info 1689 1089 35.5% 11-Jul-97 20:12:56 +def_kick.info 1766 1047 40.7% 11-Jul-97 20:12:56 +def_KingCON.info 2534 1971 22.2% 11-Jul-97 20:12:56 +def_misc.info 1353 421 68.8% 11-Jul-97 20:12:56 +def_module.info 1795 1083 39.6% 11-Jul-97 20:12:56 +def_MUI.info 1216 549 54.8% 11-Jul-97 20:12:56 +def_MUIBuilder.info 369 253 31.4% 11-Jul-97 20:12:56 +def_music.info 1634 1043 36.1% 11-Jul-97 20:12:56 +def_pref.info 1593 1006 36.8% 11-Jul-97 20:12:56 +def_Preset.info 1473 895 39.2% 11-Jul-97 20:12:56 +def_project.info 1501 581 61.2% 11-Jul-97 20:12:56 +def_Readme.info 1412 614 56.5% 11-Jul-97 20:12:56 +def_Source.info 1713 563 67.1% 11-Jul-97 20:12:56 +def_tape.info 1459 1045 28.3% 11-Jul-97 20:12:56 +def_tool.info 1629 1040 36.1% 11-Jul-97 20:12:56 +def_trashcan.info 1233 596 51.6% 11-Jul-97 20:13:00 +libs.info 46148 30624 33.6% 11-Jul-97 20:06:02 +reqtools.library 1233 723 41.3% 11-Jul-97 20:13:00 +Source.info 14 14 0.0% 11-Jul-97 20:12:54 +!Debug 1392 604 56.6% 15-Jul-97 23:29:56 +!Debug.info 14 14 0.0% 11-Jul-97 20:13:00 +!Nuke_Objects 1392 608 56.3% 15-Jul-97 23:29:56 +!Nuke_Objects.info 20160 5521 72.6% 15-Jul-97 23:07:12 +Associate.c 1480 678 54.1% 15-Jul-97 23:29:56 +Associate.c.info 11366 2953 74.0% 15-Jul-97 23:04:22 +AssociateGui.c 1390 596 57.1% 15-Jul-97 23:29:56 +AssociateGui.c.info 7238 1248 82.7% 15-Jul-97 23:04:00 +AssociateGui.gui 1003 470 53.1% 15-Jul-97 23:29:56 +AssociateGui.gui.info 5267 1023 80.5% 15-Jul-97 23:04:22 +AssociateGui.h 1390 598 56.9% 15-Jul-97 23:29:56 +AssociateGui.h.info 15969 3556 77.7% 11-Jul-97 20:12:54 +GuiHandler.c 1486 685 53.9% 15-Jul-97 23:29:56 +GuiHandler.c.info 1188 405 65.9% 11-Jul-97 20:12:54 +Includes.h 1390 602 56.6% 15-Jul-97 23:29:56 +Includes.h.info 520 240 53.8% 11-Jul-97 20:12:54 +Protos.h 1390 599 56.9% 15-Jul-97 23:29:56 +Protos.h.info 201 148 26.3% 15-Jul-97 23:32:38 +SCoptions 1189 418 64.8% 15-Jul-97 23:29:56 +SCoptions.info 507 328 35.3% 15-Jul-97 22:58:12 +Source_Readme.TXT 1597 663 58.4% 15-Jul-97 23:29:56 +Source_Readme.TXT.info 1563 633 59.5% 15-Jul-97 23:00:28 +Vars.h 1483 679 54.2% 15-Jul-97 23:29:56 +Vars.h.info -------- ------- ----- --------- -------- 282595 133013 52.9% 17-Jul-97 02:13:48 69 files