How to activate a VPN with Launchbar
Posted: Thu Jul 10, 2014 11:55 am
I can browse my VPNs in Launchbar, but nothing happens when I select them?
Code: Select all
tell application "System Events"
tell current location of network preferences
set myConnection to the service "VPN_NAME"
if myConnection is not null then
if current configuration of myConnection is not connected then