script that opens program when connected ??

Got a problem with Viscosity or need help? Ask here!

104zam88

Posts: 1
Joined: Thu Dec 22, 2016 2:55 pm

Post by 104zam88 » Thu Dec 22, 2016 3:03 pm
Hi guys,

First, I'm sorry for my poor english, i'm french....

Here's my question :

I have already found a disconnect script that close a program when the VPN connection is lost (sparklabs official support page => https://www.sparklabs.com/support/kb/ar ... connected/ ), but i can't find any CONNECTION script that opens an .exe when the connection is established. Any chance for me that you guys write for me a few lines for such a script ? I dont have any programming knowledges and I'm not able to do it myself.

Thanks guys !!!

Eric

User avatar
Posts: 1146
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Fri Dec 23, 2016 9:18 am
Hi 104zam88,

An example would be:

start C:\path\to\your\program.exe

Save that line to a batch script and set it as your connected script.

Regards,
Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
2 posts Page 1 of 1