home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 600-699 / ff654.lha / WBLink / WBLink.doc < prev    next >
Text File  |  1992-05-14  |  4KB  |  79 lines

  1.  
  2.                    WBLink V1.10
  3.                  by Dave Schreiber
  4.  
  5.      WBLink is copyright 1991 by Dave Schreiber, All Rights Reserved.
  6. WBLink is freely distributable, but the author retains all rights in
  7. regards to the program.  Permission is granted to distribute this program
  8. for a minimal charge (for copying, handling, etc.).
  9.  
  10.      WBLink is a small utility I wrote in order to deal with what I think
  11. is a deficiency in Workbench 2.0:  namely, there's no way to create a link
  12. from one file to another using Workbench (a link is like a second (or
  13. third, etc.) name for a file;  although both the original program and the
  14. link have their own icon, there's only one copy of the program actually on
  15. disk.  See the description of 'Makelink' in the AmigaDOS reference section
  16. of the manual that came with 2.0 or your Amiga for more information).
  17. WBLink creates an 'AppIcon' that allows you to create links easily.
  18.  
  19.      To run WBLink, either double-click on it's icon or type 'Run
  20. WBLink' from the CLI.  If you'd like it to be run automatically when you
  21. boot up, you can put it in your 'Wbstartup' drawer.  When run, WBLink puts
  22. up an AppIcon on the Workbench;  if you drop the icon for a file or drawer
  23. onto WBLink's AppIcon, a link to that file or drawer is created.  The
  24. position of the AppIcon can be given when you run WBLink; from the CLI,
  25. type:
  26.   WBLink iconx x icony y
  27. where x and y are the desired x,y coordinates of WBLink's AppIcon (you can
  28. leave the y coordinate unspecified, and the AppIcon will end up at whatever
  29. location Workbench deems appropriate).
  30.  
  31. From Workbench, you can add ICONX=x to the tooltypes list to specify the
  32. desired x coordinate, and ICONY=y to specify the y coordinate. As with the
  33. command line, ICONY can be left unspecified.
  34.  
  35. The naming convention for links is similar for the Copy menu selection: the
  36. first link, for a program named 'prog' for example, will be named
  37. Link_to_prog. The second, Link_2_to_prog, etc.    Once the link is created,
  38. it can be renamed and moved anywhere on the drive (although if you move it
  39. to another disk, regular copy of the file is made and put on the
  40. destination disk, instead of a link;  this is due to a limitation in the
  41. way the Amiga's OS handles links).
  42.  
  43.      Note:  while WBLink creates links to files and drawers, it copies
  44. .info files.  This means that you can position a file and its link
  45. independently (whereas if WBLink created a link to both the file and .info
  46. file, every time you moved the original file's icon, the link's icon would
  47. move to the same location).
  48.  
  49.      If you double click on WBLink's AppIcon, a requester pops up that
  50. gives you the version and release date of WBLink, along with an opportunity
  51. to quit WBLink.  To quit, click on the 'Quit WBLink' button.  The 'Don't
  52. Quit' button closes the requestor, but leaves WBLink running.
  53.  
  54.      To give you an idea of the usefulness of links, let me describe one
  55. use I have for them.  I have a number of programs that I run often that I
  56. would like to have directly on Workbench for easy access.  Unfortunatly
  57. Workbench tends to slow down if you leave out a lot of icons.  My solution
  58. was to create a drawer called 'Dock' (after the NeXT's feature of the same
  59. name) and leave that out instead.  In that drawer, I placed links to my
  60. frequently used programs.  With this arrangement, I have easy access to my
  61. programs without cluttering up or slowing down Workbench.  Moreover, this
  62. takes up only a few kilobytes on my hard drive (whereas making copies of
  63. the programs to put in Dock would have taken up over a megabyte).
  64.  
  65.      If you're interested in how WBLink operates, I've included the source.
  66. To compile, using SAS/C V5.10a, type the following in the command line:
  67.  
  68.    lc -Lcd -v WBLink
  69.  
  70.      If you have any questions, comments, etc. regarding WBLink, please
  71. don't hesitate to get in touch with me at:
  72.  
  73.                       Dave Schreiber
  74.                       1234 Collins Lane
  75.                       San Jose, CA     95129-4208
  76. e-mail:                   davids@cats.ucsc.edu
  77.  
  78.  
  79.