Created
December 17, 2017 17:28
-
-
Save anonymous/c77ac5181c48ad881b48762fc180cbe7 to your computer and use it in GitHub Desktop.
oascript for tunnelblick start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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