Created
July 28, 2015 03:35
-
-
Save scoutman57/01a92e6fec0a1bcb4221 to your computer and use it in GitHub Desktop.
Connect IBM VPN - Apple Script
This file contains hidden or 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
#!/usr/bin/osascript | |
tell application "System Events" | |
tell current location of network preferences | |
set VPNservice to service "IBM VPN" | |
if exists VPNservice then connect VPNservice | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment