home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / WA / WA400.ZIP / ICONLIB.DOC < prev    next >
Text File  |  1990-07-16  |  7KB  |  114 lines

  1.  
  2.  
  3.             ICONLIB SYSTEM
  4.  
  5.  
  6.             by Mike Barrs
  7.  
  8.  
  9.  
  10. (use word wrap to view this text)
  11.  
  12. Files distributed in ICOMB1.ZIP: 
  13.  
  14. ICO_MB1.GRP*    Program Manager library group
  15. ICONLIB.DOC**    This file - describes the library system
  16. ICON.REC        Macros for the library system
  17.  
  18. * Note - You'll need the 49 .ICO icon files in MB2.ZIP for the installation demo shown below.
  19.  
  20. **If you have the first version of ICOMB1.ZIP (uploaded before I figured out the macros), substitute ICONLIB.DOC for the doc files included in that file.
  21.  
  22.  
  23.  
  24. The following is a system I've developed for managing a large collection of Windows 3.0 .ICO files using group windows and installation macros.  I've found it useful and hope you will too.
  25.  
  26. In order to have a visual reference to the individual icon files, the system uses Program Manager group windows with up to 50 icons per group.  By maximizing Program Manager, and then maximizing the group, you can see all 50 icons at once, or use the scroll bars in a smaller window.  With the set of macros included here you can build your own icon library group windows with automatic installation of single icons or groups of 50 in a subdirectory.  There are also two macros that automate changing the icon of a Dos program or WinApp in Program Manager - you'll never have to remember or type an icon filename.
  27.  
  28.  
  29.  
  30. I Setting up the IconLib MB1 group
  31.  
  32.  
  33.  
  34. Copy ICO_MB1.GRP and ICONS.REC to your Windows subdirectory
  35.  
  36. Create a new program group in Program Manager;  click on "File / New / Program Group" and for "Group File" type "ICO_MB1.GRP".  Leave the Description field blank.  Click on "OK".  You'll see a new group called Iconlib MB1
  37.  
  38. To see all the icons at once, maximize Program Manager, then maximize the IconLib MB1 group (this will take a few seconds on slower machines). 
  39.  
  40.  
  41.  
  42. II Installing an icon
  43.  
  44.  
  45. Here's how the macros and the library window work together - you may want to install chkdsk.com or some other Dos app in group window as a test for the following demo:
  46.  
  47. Create a subdirectory on the same hard drive as the Windows subdirectory called \ICO, and then one under it called \ICO\MB1.
  48.  
  49. Unzip the MBICO2.ZIP file, and move all 49 .ICO files in ICOMB1.ZIP to \ICO\MB1
  50.  
  51. Start the macro recorder program (probably found in your MAIN group), click on "File / Open", double click on ICON.REC, and then minimize the macro recorder so it's active at the bottom of the screen.
  52.  
  53. Do the following with Program Manager sized as you normally use it.  
  54.  
  55. To use one of the new icons for an application, open the IconLib1 group window, and scroll around to find an icon you want to use.  Click on it once with the mouse so the name is highlited, then press "Ctrl A" on the keyboard.
  56.  
  57. Then open the group window with the application you'll use the icon for (chkdsk.com, for example), click on it once to highlite the name, and press "Ctrl B".  That's all there is to it! 
  58.  
  59.  
  60.  
  61. II Setting up library groups for your own icons
  62.  
  63.  
  64.  
  65. I'd suggest setting up a header subdirectory like \ICO, with subdirectories under that for groups of icons - \ICO\UTL, \ICO\GAMES, etc. but the system will work with any subdirectory setup as long as it's on the same drive as Windows.  The group install macro will only install up to 50 icons since that's the Program Manager limit for a group.
  66.  
  67. Make sure the ICON.REC macro file is running with the recorder minimized as in the example above
  68.  
  69. Open Program Manager and create a new group item - " File / New / Program Group / OK ".  You'll see a new, blank group window.  Leave Program Manager up on the screen and open File Manager.  It's important that only Program Manager and File Manager be open on the desktop - you can have other programs running minimized.
  70.  
  71. Double-click on the subdirectory shown in the Directory tree window to open a file window for that subdirectory.  Make sure there are no other file windows open or minimized, just the tree and the icon subdirectory window.  Set the View menu option to "By Type" if it's not already set that way.
  72.  
  73. The rest is easy - to put icons into the new group window one at a time, just click once to highlight the .ICO file, and press "Ctrl 1"
  74.  
  75. To install a group of up to 50 icons, click once on the first .ICO file in the subdirectory (make sure they're arranged by file extension), and hit "Ctrl 5".  Then go for coffee - it'll take a while depending on your cpu and disk speed.
  76.  
  77. If there are less than 50 icons in the subdirectory, just hit "Ctrl Break" to stop the macro after it installs the last one.  If you don't abort the macro it'll just keep installing the last one over and over until the group window has 50 icons, but you can always go back and delete the duplicates in Program Manager.
  78.  
  79. You can also start the macro running from a highlited file in the middle of a huge subdirectory of icons and let it run up to 50 or abort it when you want - just make sure you start with a new, blank group window each time. 
  80.  
  81.  
  82.  
  83. III A few notes
  84.  
  85.  
  86.  
  87. * Another way to install individual icons to a library window is just to hold down the mouse button and drag from an .ICO file in the File Manager window to the group window in Program Manager.  You will have to do some window moving and sizing to have both windows visible at once for that to work.  For me, the macro is easier.
  88.  
  89. * Note that some icons in ICOMB2.ZIP have names that may be the same as other .ICO files you have - like "email.ico" - so be careful when copying them so you don't overwrite any pre-existing icons. 
  90.  
  91. * You can easily change the keys used to run the macros if they conflict with program shortcut keys or other macros - just change the field entry in "Macro / Properties / Shortcut Key" in the recorder.
  92.  
  93. * Keep a copy of each .GRP file you create (and ICO_MB1.GRP) somewhere other than the Windows subdirectory so you can delete a library group from Program Manager if you need the window space (or memory), and reinstall it later to use an icon.  Program Manager will delete the .GRP file in the Windows subdirectory when you remove a group.
  94.  
  95.  
  96.  
  97.     Copyright and Cheapware Notice
  98.  
  99.     _________________________________
  100.  
  101. I'm distributing this system under the Cheapware concept - it's a small, productive system that took me a while to figure out, develop macros for, and then document so others could use.  If you try it and find the macros useful, please send a $10.00 check, payable to Mike Barrs, to the following address:
  102.  
  103.  
  104.     Mike Barrs
  105.     6303 S.W. 69th Street
  106.     Miami, FL 33143
  107.  
  108.  
  109. I'll also provide custom icons at a very reasonable fee to individual users or shareware authors that like the ones I've drawn here and need something special.  Just leave me an e-mail message on Compuserve - Mike Barrs 72070,2434
  110.  
  111.  
  112. And thanks to Philip Eskelin for the IconDraw editing program.
  113.  
  114.