Jump to content











Photo
- - - - -

VistaPE now with expanded ReadEnv


  • Please log in to reply
No replies to this topic

#1 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 06 August 2009 - 08:49 PM

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).




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users