home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / misc / gold03.lzh / GF_003 / ICONEXEC / ICONEXEC.README < prev    next >
Text File  |  1991-04-28  |  2KB  |  52 lines

  1. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  2. /* ICONEXEC (c) Copyright 1986 John A. Toebes, VIII. All rights reserved */
  3. /*  This program may be used and modified for any purpose so long as     */
  4. /*  this copyright notice remains with the code and the program is not   */
  5. /*  sold and no charge is made for its use.  For permission to           */
  6. /*  incorporate this into a commercial product, contact the author:      */
  7. /*    John A. Toebes, VIII                                               */
  8. /*    120 H Northington Place                                            */
  9. /*    Cary NC 27511                                                      */
  10. /*    (919) 469-4210                                                     */
  11. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  12.  
  13. /*-----------------------------------------------------------------------*/
  14. /* This program allows you to associate any series of CLI commands to be */
  15. /* run when you click on an ICON even though there is no CLI window open */
  16. /* One problem associated with it is that a program that does input from */
  17. /* the default input (*) always sees EOF.  I am researching why this     */
  18. /* happens, but believe it is related to an AmigaDos problem.            */
  19. /*-----------------------------------------------------------------------*/
  20.  
  21. /****************
  22.   To compile this program under Lattice C:
  23.     1) Compile the 
  24.     LC1 -oRAM: -i<includedir> ICONEXEC
  25.     LC2 -v -oICONEXEC.O RAM:ICONEXEC
  26.  
  27.     2) Create a file 'link_iconexec' with the linker commands (assuming 
  28.        that df0:lib contains the appropriate linking modules):
  29.     FROM     df0:lib/c.o+*
  30.     IconExec.o
  31.     TO       IconExec
  32.     LIBRARY  df0:lib/lc.lib+df0:lib/amiga.lib
  33.     MAP      nil:
  34.  
  35.     3) link it using alink
  36.     ALINK WITH LINK_ICONEXEC
  37.  
  38.    To create and execute a user customized Icon Exec
  39.  
  40.     1) Create an Icon (copy the CLI Icon) for IconExec
  41.  
  42.     2) Run the SetWindow program to set a the tool window on the Icon
  43.     SETWINDOW ICONEXEC "CON:0/0/100/100/MYWINDOW"
  44.        If you do not do this, then by default ICONEXEC will open a full
  45.        screen window with a title of "ICONEXEC by John A. Toebes, VIII"
  46.  
  47.     3) Using the Workbench INFO meno option, enter the commands into the
  48.        tool types window.
  49.  
  50.     4) Click on the Icon and watch it go.
  51. **********/
  52.