home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
580a.lha
/
TRexx_v1.05
/
TRexx_v1.02.readme
< prev
next >
Wrap
Text File
|
1991-08-29
|
3KB
|
68 lines
T R E X X
Video Toaster ARexx Script Writer
(complete with an Intuition interface)
Copyright 1991 by Kurris (a.k.a. Keith Williams)
and
Kludge Code Software
"If it's a good program, then it MUST be a Kludge!"
Version 1.02 Update
8/28/91
- What's new? -
Some people hate the WorkBench and rely solely on the CLI. Some people are
just the opposite. ARexx, by definition, is a CLI-based language, but that
doesn't stop people from WISHING that they could run their ARexx (and, as a
result, their TRexx) scripts from the WorkBench.
Thus is born this version.
I'm not about to say that this is the most elegant solution to the problem,
but if DOES work and makes things a LOT easier. I've added a new TOOLTYPE to
TRexx's icon, it is:
ICONX=YES
If ICONX=YES (or ICONX=JustAboutAnything) appears in TRexx's icon's TOOLTYPE
list, TRexx will create an IconX script (with icon) that will allow you to run
your TRexx script from the WorkBench.
In order for this to work, however, the ARexx program Rx MUST be in your C:
directory (WorkBench programs don't inherit a PATH so they can only look in
your C: directory [at least with the version of IconX that I'm using]). I
don't think that this is too much to ask (not really).
This means that, with ICONX set, TRexx will create three files: the ARexx
script (WhatEver.rexx), an IconX script (WhatEver.TRexx) and the IconX icon
(WhatEver.TRexx.info). The IconX script (WhatEver.TRexx) will contain three
commands: "CD TOASTER_DIR", "Run RX PATH:WhatEver.rexx" and "EndCLI >NIL:."
This means that you can drag the IconX file (WhatEver.TRexx) to any place on
any device and it will STILL run your script correctly. Of course, if you
move the ARexx script (WhatEver.rexx) to some other location, the IconX script
will no longer work.
One way to avoid this is to, of course, not move the ARexx script file
(WhatEver.rexx). Another solution is to move it by reloading it into TRexx
and resaving it in the new place (which will effectively create a new IconX
script with the proper paths).
Oh, the TOASTER_DIR is derived from the TOOLTYPE TOASTER in TRexx's icon, by
the way (in case you were wondering).
The reason for Run'ing Rx is because of the fact that if the Toaster isn't
running at the start of the script the "TRexx-IconX" output window will not go
away until the Switcher is shutdown. By Run'ing Rx the output window goes
away immediately (which is nice, since it serves no purpose).
And that just about covers it. I HOPE that I won't have too many more changes
to make, but one never really knows, does one?
-Keith