home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / Misc / HigherEducationMailbox.mbox / Archives_provide_val_.attach / May_91 / librarian.334 < prev    next >
Text File  |  1991-05-21  |  3KB  |  40 lines

  1. {\rtf0\ansi{\fonttbl\f1\fnil Times-Roman;\f0\fswiss Helvetica;}
  2. \paperw11440
  3. \paperh9000
  4. \margl120
  5. \margr120
  6. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f1\b0\i0\ul0\fs28 Digital Librarian new icon target\
  7. \
  8. Q:  How do I specify an icon for a target in a Digital Librarian bookshelf?\
  9. \
  10. A:   There are several methods by which you can associate an icon with a target.  The target must be a directory in the first case and it doesn't matter in the second.  \
  11. \
  12. Note that both of these methods require the Special Files switch to be selected in the Workspace Manager's Filter... panel.   (Filter... is a submenu of View.)   You also need an icon.   Use Icon to create a 48x48 .tiff file saved with alpha.   When you are ready, you can do one of the following:\
  13. \
  14.     1)  This is the easiest method for changing an icon, and it lets you share it with other people.   In Librarian, create an index for the target if there is none.  Now select the target in the browser.  It contains a .index directory.  Copy your icon into this .index directory and rename it to icon.tiff.  It must be "icon.tiff", no other name will do.  Now remove the target from Digital Librarian and drag it back in.  You'll immediately see the "folder" icon turn into the icon you've created when it gets in the target area.\
  15. \
  16.     2)  This method will associate the icon with the target only for yourself.  You need to make sure that your target is already added to DL and that DL is not running.  Now locate your home directory in the browser.  Select the .NeXT directory in there.  Now select the targets directory.  Now copy your icon into this directory.  It can have any name that you wish, but it must end with .tiff.  Now open the file in this targets directory called Targets1.0.  In this file you will add another line to the group of lines that have the title and target that you are interested in.  The new line starts with "icon:" and ends with the name of the new tiff that you just copied into the directory.  This line may be anywhere within this group of lines as long as you add no extra blank lines.  Here is a Phone List target:\
  17. \
  18.         title:  Phone List\
  19.         position:  5\
  20.         icon:  phone.tiff        # this is what you need to add\
  21.         directory:  /me/phones\
  22.         selected: Yes            # this line might not exist.\
  23. \
  24. A variation on this is not to copy the icon, but to put the full pathname of the icon in the icon field.  That way you can get any updates to the icon as they happen.\
  25. \
  26. The new icon will be used the next time you launch Digital Librarian.\
  27. \
  28. Note: This is the order that Digital Librarian uses when searching for icons:\
  29.     "icon:"  line in the Targets1.0 file for the target\
  30.     <targetdir>/.index/icon.tiff\
  31.     Workspace Manager's icon for <targetdir>\
  32.     \
  33. \
  34. QA334\
  35. \
  36. Valid for 1.0 \
  37. Not valid for 2.0 \
  38. \
  39.  
  40.