diff --git a/scripts/ec2gaming-vpnup.viscosity.scpt b/scripts/ec2gaming-vpnup.viscosity.scpt new file mode 100644 index 0000000..77bfa9b --- /dev/null +++ b/scripts/ec2gaming-vpnup.viscosity.scpt @@ -0,0 +1,8 @@ +tell application "Viscosity" + connect (connections where name is "ec2gaming") + set currentState to state of connections where name is "ec2gaming" + repeat until currentState = "Connected" + delay 1 + set currentState to state of connections where name is "ec2gaming" + end repeat +end tell