Skip to content

Instantly share code, notes, and snippets.

Created December 17, 2017 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/c77ac5181c48ad881b48762fc180cbe7 to your computer and use it in GitHub Desktop.
Save anonymous/c77ac5181c48ad881b48762fc180cbe7 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