home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / DTP / GEOICONS.ZIP / ICON_USE.DOC < prev    next >
Text File  |  1992-05-03  |  3KB  |  41 lines

  1.   If you are not familiar with hex code, there is an easy way to assign a specific Icon to a specific program.  For those who are new or do little or no programing follow these basics.
  2.  
  3. Using the NOTEPAD create a BAT file, say in this case PIC_SHOW.BAT
  4. @ECHO OFF           REM  tells system not to print bat file to screen
  5. E:           REM  tells which drive program is located
  6. CD PICTURES           REM  tells which folder (subdirectory) it's located
  7. VPIC           REM  tells it which file to load and run
  8.  
  9. Now you would exit PC/GEOS  and use an EDITOR program, in your DOS subdirectory.  If you have never used an editor program, I would suggest you read that section in your DOS manual before you start.  Also it would be wise to Download the TIPS AND TRICKS2 by Frank Loeffler in the shareware and utilities area.  I would also suggest at this point you make a copy of your GEOS.INI file before proceeding, just in case you make an error and PC/Geos won't run.  This way you can replace this working saved one or compare it with the one you created to find the mistake.  Then you would go down till you found ....  filename Tokens = {
  10.  
  11. [fileManager]
  12.  
  13. filenameTokens = {
  14.  MY_BAKUP.BAT = "BKUP",255    REM    Specific Icons for a specific program
  15.  MTEZ_TRM.BAT = "TERM",0    REM      would be placed ahead of the general ones.
  16.  QEXTRACT.BAT = "ZIPR",255    REM    This information is read in order, so it will 
  17.  PIC_SHOW.BAT = "PICT",255    REM      attach that icon to the file you assigned it
  18.  LABEL_MG.BAT = "CRAY",255    REM      to only.   All other files with that extension,
  19.  MUSIC_BX.BAT = "KEYS",255    REM      BAT in this case will be assigned the
  20.  VOICE_ED.BAT = "SPKR",255    REM      general icon.
  21.     *.EXE = "gDOS",0
  22.     *.COM = "gDOS",0
  23.     *.BAT = "nBAT",255         REM  All other BAT files would then have
  24.     *.TXT = "CTNP",255,"NPAD",0             this Icon.
  25.     *.DOC = "FILE",0,"NPAD",0
  26.     *.HLP = "FILE",0,"NPAD",0
  27.     *.WQ1 = "VWQ1",0,"VIEW",0
  28.     *.WK1 = "VWK1",0,"VIEW",0
  29.     *.EPS = "VEPS",0,"VIEW",0
  30. }
  31. dosAssociations = {
  32.     *.GIF = E:\PICTURES\VPIC.EXE    REM    from TIPS & TRICKS2
  33.     *.ZIP = F:\ARCHIVE\QEXTRACT.EXE    REM    allows you to double click on a
  34.     *.ARC = F:\ARCHIVE\QEXTRACT.EXE    REM    file with that extension and load
  35. }                REM    the program you specified.
  36. promptOnReturn = FALSE
  37. [mouse]
  38.  
  39.   I hope this will be of some help for those who would like to assign these great ICONS.  
  40. I placed the ones I used in my WORLD directory.  Later I will create another directory say for GAMES or EDUCATION, what ever programs I want to group together in a window.  Then do the same thing I did as above.
  41.