Skip to content

Commit

Permalink
Initial commit of viscosity applescript vpndown
Browse files Browse the repository at this point in the history
  • Loading branch information
Euan Reid committed Nov 27, 2016
1 parent 3a28ae0 commit 81844e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/ec2gaming-vpndown.viscosity.scpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tell application "Viscosity"
disconnect (connections where name is "ec2gaming")
set currentState to state of connections where name is "ec2gaming"
repeat until currentState = "Disconnected"
delay 1
set currentState to state of connections where name is "ec2gaming"
end repeat
end tell

0 comments on commit 81844e3

Please sign in to comment.