Skip to content

Instantly share code, notes, and snippets.

@zackn9ne
Forked from anonymous/tunnel.oascrpt
Created December 17, 2017 17:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zackn9ne/0ad42daea4f2174c75192f5487223a4a to your computer and use it in GitHub Desktop.
Save zackn9ne/0ad42daea4f2174c75192f5487223a4a to your computer and use it in GitHub Desktop.
oascript for tunnelblick start
tell application "Tunnelblick"
connect "Company_VPN"
get state of first configuration where name = "Company_VPN"
repeat until result = "CONNECTED"
delay 1
get state of first configuration where name = "Company_VPN"
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment