home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / iconpeek.zip / ICONPEEK.DOC next >
Text File  |  1991-01-09  |  8KB  |  194 lines

  1.            IconPeek - A Quick Peek at Your Windows 3.0 Icons
  2.             -----------------------------------------------
  3.                        Version 1.0 - Jan 9, 1991
  4.  
  5.  
  6.                            Copyright (c) 1991
  7.                                    by
  8.                             William L. Hirst
  9.                           All Rights Reserved
  10.  
  11.  
  12.  
  13.  
  14. INTRODUCTION
  15. ------------
  16. This is a SHAREWARE program that will read an entire directory, find
  17. every icon (*.ICO filenames) and copy them to a Paintbrush bitmap.  It
  18. puts 56 icons and their names on each page.  You can print the bitmap on
  19. ANY graphics printer that Windows 3.0 supports, save it for reference,
  20. or cut-and-paste (from Paintbrush) into other Windows applications.
  21.  
  22. I wrote it right after I downloaded over 500 of the things and had no
  23. idea what they all looked like.  I couldn't print them, and it was
  24. taking forever to look at them one at a time. Now I can see them all on
  25. just nine pages.
  26.  
  27.  
  28.  
  29. LIMITATIONS
  30. -----------
  31. It does not replace ICONDRAW, or any other graphics editor. It was only
  32. intended to be a way to look at icons, not draw them. There is NO WAY it
  33. will ever take a Paintbrush screen and create icons from it.
  34.  
  35. The newest version of ICONDRAW has a file called ICONLIB.EXE with many
  36. icons in one file.  I don't know how to read that file yet.
  37.  
  38. VGA is the only video mode that I have tested.  It should work on other
  39. modes, since it reads and writes FILES, not video images.  Use the
  40. Windows Paintbrush utility to look at the output.  As long as it will
  41. show a 640 x 480 16-color bitmap, you should be ok.
  42.  
  43.  
  44. RUN-TIME PARAMETERS
  45. -------------------
  46. The name of the program is ICONPEEK. It needs to be somewhere along the
  47. PATH if you expect the system to find it, or you need to type in the
  48. directory name. Like:      C:\bin\ICONPEEK
  49.  
  50. You can put in a few parameters:
  51.  
  52.     NOSORT        (if you don't want to sort - default is sort)
  53.                   (if it can't find SORT on your path, it won't run)
  54.  
  55.     PREFIX=arrgh  (names the bitmaps ARRGH01.BMP, ARRGH02.BMP, etc.)
  56.                   (otherwise the default is ICONPK01.BMP, etc.)
  57.                   (truncates to 6 characters)
  58.  
  59.     DIR=c:\icon\
  60.     PATH=c:\icon\ (either keyword tells where your icons are)
  61.                   (include the final  \  )
  62.                   (default icon location is the current directory)
  63.                   (the output ALWAYS goes to the current directory)
  64.  
  65.     COLOR=yellow  (background color for output bitmaps)
  66.                   (default is white)
  67.  
  68. Upper and lower case are the same. Leave one or more spaces between
  69. parms. Example:
  70.  
  71.     c:\windows\iconpeek nosort prefix=mega7 path=\download\ color=gray
  72.  
  73.  
  74.  
  75. Valid colors are:
  76.  
  77.   WHITE, YELLOW, MAGENTA, RED, CYAN, GREEN, BLUE, GRAY, BROWN, BLACK.
  78.  
  79. You can also use light or dark prefixes:
  80.  
  81.   L-MAGENTA, D-MAGENTA, L-RED, D-RED, L-CYAN, D-CYAN, L-GREEN, D-GREEN,
  82.   L-BLUE, D-BLUE, L-GRAY, D-GRAY.
  83.  
  84. The colors with "L-" are the same as the colors with no letter.
  85.  
  86.   L-RED is the same as RED.  There is no D-YELLOW or L-BROWN.
  87.  
  88.  
  89.  
  90. RUNNING UNDER WINDOWS
  91. ---------------------
  92. 1.  As a DOS program:
  93.     You do not need the ICONPEEK.PIF file for this.  Call up a
  94.     fullscreen DOS session and enter the program name ICONPEEK and
  95.     parameters at the command line.  Type EXIT when it finishes to
  96.     close the window.
  97.  
  98. 2 - In a Window:
  99.     You must copy ICONPEEK.PIF to your Windows directory to run in a
  100.     window.  Pull down the FILE menu from PROGRAM MANAGER and select
  101.     RUN.  type in ICONPEEK and any parameters.  You can let it run in a
  102.     window or run it mimimized.  The window will close when finished.
  103.  
  104. 3 - By clicking on an icon:
  105.     Copy the ICONPEEK.PIF file to the Windows directory.  Open the FILE
  106.     MANAGER, pull up the Windows directory and drag the ICONPEEK.PIF
  107.     file to a program group window, like ACCESSORIES.  Now pull down the
  108.     FILE menu from PROGRAM MANAGER, select PROPERTIES, then CHANGE ICON.
  109.     Type in PEEK.ICO or PEEK1.ICO.  Start the program by clicking on the
  110.     icon.  You can mimimize the window and let it run in background.
  111.  
  112. NOTE:  If you need to change parameters before running ICONPEEK as a
  113. windowed program, you will have to update the ICONPEEK.PIF file with the
  114. PIF editor. See your Windows book for how to do that.
  115.  
  116.  
  117.  
  118. PRINTING TIP
  119. ------------
  120. Printing from Paintbrush on a HP Deskjet Plus, I get fairly good results
  121. with LANDSCAPE orientation, 300 dpi, PROOF quality, 130% scale, and set
  122. the switch on the printer itself to "DRAFT."
  123.  
  124.  
  125.  
  126. PROGRAM INTERNALS
  127. -----------------
  128. First, this program isn't going to win any awards for speed, because I
  129. wrote it in QuickBASIC 4.5 and fiddling with bits is a whole lot faster
  130. in assembler.  It also takes me a lot longer to write assembler.  It
  131. isn't the kind of thing you're going to run every day anyway.
  132.  
  133. Second, the output is a bitmap (.BMP suffix).  The Paintbrush format
  134. (.PCX suffix) is about half the size.  You might want to open the
  135. bitmaps with Paintbrush and save them as .PCX files to save space.
  136. I know the format of the .PCX files, but I'm NOT going to do that kind
  137. of data compression in BASIC.  It was bad enough I had to do transparent
  138. backgrounds and build my own font.
  139.  
  140. Third, it reads the directory with the crude but reliable DIR command,
  141. and uses the equally klunky SORT filter.  And, quite frankly, BASIC
  142. leaves a lot to be desired in the area of random access file I/O.
  143.  
  144. If I re-wrote it in assembler, I'd create some humongous arrays, open
  145. about 10 - 15 files at once, keep track of dozens of pointers, and it
  146. would run like a scalded duck. I might even bypass the BIOS. (This
  147. vaporware will be out in 3 years, and will cost over $250.00).
  148.  
  149. Finally, it isn't even a Windows program, just a plain old DOS program
  150. that reads files and writes files.  There is no graphics output, so it
  151. runs just fine as a full screen or in a window or even if Windows isn't
  152. up.  I didn't write any display drivers or printer drivers and I'm not
  153. going to - Use Paintbrush to look at the output and/or print it.
  154.  
  155.  
  156.  
  157. COPYRIGHT AND DISTRIBUTION REQUIREMENTS
  158. ---------------------------------------
  159. This program and the documentation are SHAREWARE.  That means you should
  160. send me some money if you find this thing is useful.  $20 would be nice.
  161. If you can't afford that, send $10.  (If you can't even afford $10, I'll
  162. understand - I've been broke at times too).  You get a license to use
  163. this until the format of the icons changes and it quits working.
  164.  
  165. You may freely copy and distribute this work for private, non-commercial
  166. use in its complete, unaltered form.  You may not charge more than a
  167. reasonable fee for distribution.  You must include the COPYRIGHT notice.
  168. I encourage you to upload it to any public bulletin boards.  Please
  169. upload the complete ICONPEEK.ZIP file.  Commercial users need a site
  170. license.
  171.  
  172. The icons PEEK.ICO and PEEK1.ICO are public domain.
  173.  
  174. This program has no guarantee whatsoever.  You have to decide if it is
  175. suitable for your needs.  It may not work on all systems.  If you suffer
  176. any misfortune from the use or misuse or failure of this program, don't
  177. blame this program for your mistakes.  In any event, all you could get
  178. is a refund of whatever you paid for the program.
  179.  
  180.  
  181.  
  182. ALMOST FORGOT THIS PART !
  183. -------------------------
  184. My address:  Use it to send money.  Also use it to send comments,
  185. suggestions or reports of bugs.
  186.  
  187.  
  188.                 Bill Hirst
  189.                 5691 Southwest First Street
  190.                 Plantation, FL   33317-3557
  191.  
  192.  
  193. Thanks in advance for your support.
  194.