JH>7. I'd like TSE (and TSEjr/2) to support something like $[envvar] in any
JH>field, any string, any .CFG setting, etc. to mean "replace with value of
JH>environment variable [envvar]". I often disconnect my machine from the L
JH>here, in which case I want my swap disk to be C:\TMP, when OS/2 is loade
JH>want it to be H:\TMP, and when Novell is loaded, I want it to be X:\TMP.
JH>set TMP to this externally, so if I could tell TSE that my swap path is
JH>it'd "auto configure" itself depending on where I am. This obviously has
JH>uses too.
You can do this now, though maybe not in the foorm you desire. The
WhenLoaded() in my tse.ui contains the following:
Set(SwapPath,(GetEnvStr('TEMP')))
Set(TSEPath,(GetEnvStr('TSEPATH')))
This gets the config info I want set according to an existing envar. For
me it makes a single configuration work for both home and work systems.
L.
--- FidoPCB v1.4 [ff151/a]
---------------
* Origin: SemWare Support BBS * 404-641-8968 * (1:133/314)
|