VoiceGuide IVR Software Main Page
Jump to content

Protected Script Generates Unprotected Vbs File

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×