Establishing a VPN connection using Apple Script

Created by Fabian Jäger, Modified on Tue, 1 Sep at 7:21 PM by Fabian Jäger

Establishing a VPN connection using Apple Script

You can use Apple Script to connect to your VPN accounts. See the example below for a typical script.

tell application "Shimo"

set p to account "vpn.rwth-aachen.de"

if p is connected then

  disconnect account p

else

   connect account p

end if

end tell

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article