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 >
Wrap
Text File
|
1991-04-28
|
2KB
|
52 lines
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* ICONEXEC (c) Copyright 1986 John A. Toebes, VIII. All rights reserved */
/* This program may be used and modified for any purpose so long as */
/* this copyright notice remains with the code and the program is not */
/* sold and no charge is made for its use. For permission to */
/* incorporate this into a commercial product, contact the author: */
/* John A. Toebes, VIII */
/* 120 H Northington Place */
/* Cary NC 27511 */
/* (919) 469-4210 */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*-----------------------------------------------------------------------*/
/* This program allows you to associate any series of CLI commands to be */
/* run when you click on an ICON even though there is no CLI window open */
/* One problem associated with it is that a program that does input from */
/* the default input (*) always sees EOF. I am researching why this */
/* happens, but believe it is related to an AmigaDos problem. */
/*-----------------------------------------------------------------------*/
/****************
To compile this program under Lattice C:
1) Compile the
LC1 -oRAM: -i<includedir> ICONEXEC
LC2 -v -oICONEXEC.O RAM:ICONEXEC
2) Create a file 'link_iconexec' with the linker commands (assuming
that df0:lib contains the appropriate linking modules):
FROM df0:lib/c.o+*
IconExec.o
TO IconExec
LIBRARY df0:lib/lc.lib+df0:lib/amiga.lib
MAP nil:
3) link it using alink
ALINK WITH LINK_ICONEXEC
To create and execute a user customized Icon Exec
1) Create an Icon (copy the CLI Icon) for IconExec
2) Run the SetWindow program to set a the tool window on the Icon
SETWINDOW ICONEXEC "CON:0/0/100/100/MYWINDOW"
If you do not do this, then by default ICONEXEC will open a full
screen window with a title of "ICONEXEC by John A. Toebes, VIII"
3) Using the Workbench INFO meno option, enter the commands into the
tool types window.
4) Click on the Icon and watch it go.
**********/