sddev Report post Posted 08/22/2005 05:56 PM I have saved a vg script as protected (*.vgp) to prevent exposure of mySQL database password. It includes a run VB Script module that logs call results to the database. I find that vg generates a vbs file from the script in this module. Is there any way to prevent this. If not, is there a scheme for naming the generated vbs file so that I can delete it after the script is run. Thanks. Share this post Link to post
SupportTeam Report post Posted 08/22/2005 11:09 PM The filename used is in format: vbs_iLineId_iCounter.vbs Value of iLineId can be accessed using $RV_LINEID. Value of iCounter starts at 1 for first vbs script ran during a call, and is incremented by 1 for each successive VBS ran on the call. It is possible to tell from within the VBScript ran as to what is the filename of the running script - use Wscript.ScriptFullPath or Wscript.ScriptName Share this post Link to post