Skip to content

Commit

Permalink
Initial commit of viscosity applescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Euan Reid committed Nov 27, 2016
1 parent 3d569d0 commit 3a28ae0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/ec2gaming-vpnup.viscosity.scpt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3a28ae0

Please sign in to comment.