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 >
Text File  |  1991-08-29  |  3KB  |  68 lines

  1.                                   T R E X X
  2.  
  3.                       Video Toaster ARexx Script Writer
  4.                     (complete with an Intuition interface)
  5.  
  6.  
  7.                Copyright 1991 by Kurris (a.k.a. Keith Williams)
  8.                                      and
  9.                              Kludge Code Software
  10.             "If it's a good program, then it MUST be a Kludge!"
  11.  
  12.  
  13.                              Version 1.02 Update
  14.                                    8/28/91
  15.  
  16.  
  17.  
  18. - What's new? -
  19.  
  20. Some  people  hate  the WorkBench and rely solely on the CLI.  Some people are
  21. just  the  opposite.   ARexx, by definition, is a CLI-based language, but that
  22. doesn't  stop  people  from WISHING that they could run their ARexx (and, as a
  23. result, their TRexx) scripts from the WorkBench.
  24.  
  25. Thus is born this version.
  26.  
  27. I'm  not  about  to say that this is the most elegant solution to the problem,
  28. but  if DOES work and makes things a LOT easier.  I've added a new TOOLTYPE to
  29. TRexx's icon, it is:
  30.  
  31.             ICONX=YES
  32.  
  33. If  ICONX=YES  (or ICONX=JustAboutAnything) appears in TRexx's icon's TOOLTYPE
  34. list, TRexx will create an IconX script (with icon) that will allow you to run
  35. your TRexx script from the WorkBench.
  36.  
  37. In  order  for  this to work, however, the ARexx program Rx MUST be in your C:
  38. directory  (WorkBench  programs  don't inherit a PATH so they can only look in
  39. your  C:   directory  [at least with the version of IconX that I'm using]).  I
  40. don't think that this is too much to ask (not really).
  41.  
  42. This  means  that,  with  ICONX set, TRexx will create three files:  the ARexx
  43. script  (WhatEver.rexx),  an  IconX script (WhatEver.TRexx) and the IconX icon
  44. (WhatEver.TRexx.info).   The  IconX script (WhatEver.TRexx) will contain three
  45. commands:   "CD  TOASTER_DIR", "Run RX PATH:WhatEver.rexx" and "EndCLI >NIL:."
  46. This  means  that you can drag the IconX file (WhatEver.TRexx) to any place on
  47. any  device  and  it  will STILL run your script correctly.  Of course, if you
  48. move the ARexx script (WhatEver.rexx) to some other location, the IconX script
  49. will no longer work.
  50.  
  51. One  way  to  avoid  this  is  to,  of  course, not move the ARexx script file
  52. (WhatEver.rexx).   Another  solution  is to move it by reloading it into TRexx
  53. and  resaving  it  in the new place (which will effectively create a new IconX
  54. script with the proper paths).
  55.  
  56. Oh,  the  TOASTER_DIR is derived from the TOOLTYPE TOASTER in TRexx's icon, by
  57. the way (in case you were wondering).
  58.  
  59. The  reason  for  Run'ing  Rx is because of the fact that if the Toaster isn't
  60. running at the start of the script the "TRexx-IconX" output window will not go
  61. away  until  the  Switcher  is shutdown.  By Run'ing Rx the output window goes
  62. away immediately (which is nice, since it serves no purpose).
  63.  
  64. And that just about covers it.  I HOPE that I won't have too many more changes
  65. to make, but one never really knows, does one?
  66.  
  67. -Keith
  68.