home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
011.lha
/
tool_wrapper
/
toolwrapper.doc
< prev
next >
Wrap
Text File
|
1986-11-10
|
2KB
|
44 lines
Tool Wrapper v. 0.1
This program will allow you to access a CLI-style command from the
Workbench. It will build a CLI-command from selected workbench icons and
then fire it up for you. Each ICON's full path name will be resolved and
appended to the command.
To use it, you will need to do a few things. First, make yourself a
PROJECT icon (by copying a notepad note and tweaking the art for example).
Then using the INFO option on the Workbench pull-down menu, add a tool-type
of the form:
TOOL=Myprogram
Set the default tool to be the path name to ToolWrapper. Now when you
double-click the project icon, your program will be run for you.
This program was compiled with the MANX C-Compiler. Modifications may be
needed to get it to work with the Lattice compiler. In particular, you will
have to play around with _MAIN to suppress the default window which Lattice
supplies (gee thanks guys).
Files Included:
wrapper.c Source for ToolWrapper (name changed to protect the guilty)
mkpath.c Routine to recursively generate a full path name from a file
lock.
wrapper The executable program. Rename to ToolWrapper.
faug.TRM An Online! terminal definition to call the FAUG BBS
faug.SCP An Online! script file to call the FAUG BBS
faug.TI Rename to faug.trm.info - a project icon for faug.trm
double click this from workbench to call the Faug BBS.
Known Problems: Each time the program is run, you seem to lose about
80 bytes. We have snooped the program but have been unable (so far) to
account for the missing memory. Any suggestions would be welcome.
Mark Zellers Miller Abel
@FAUG @FAUG
@BBS-JC
Compuserve: 75036,3635
BIX: MZELLERS