Pedro has expanded on the ReadEnv API function in Common API v7.3, and I've incorporated it into both VistaPE-Core and VistaPE-CAPI.
Originally, ReadEnv read all the variables from project.ini section VistaPE into variables in your script. That still works. But also:
ReadEnv,SourceType reads the value from project.ini section VistaPE key SourceType and puts it in the variable %SourceType%
ReadEnv,Language,DistLang reads the value from project.ini section VistaPE key Language and puts it in the variable %DistLang%.
Note the absence of percent signs in the syntax of ReadEnv!
This change makes it easier to read variables in different projects. The changes just went up on the server (vistape.winbuilder.net).
VistaPE now with expanded ReadEnv
Started by
JonF
, Aug 06 2009 08:49 PM
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users