-
-
Save zackn9ne/0ad42daea4f2174c75192f5487223a4a 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