connect to a Tunnelblick OpenVPN connection using a shortcut Uses applescript to interact with Tunnelblick's window
written by Tyler Thrailkill tyler.b.thrailkill@gmail.com
https://github.com/snowe2010
| Signature | Tunnelblick.connection_name |
|---|---|
| Type | Variable |
| Description | String connection name |
| Source | Source/Tunnelblick.spoon/init.lua line 34 |
| Signature | Tunnelblick.logger |
|---|---|
| Type | Variable |
| Description | Logger object used within the Spoon. Can be accessed to set the default log level for the messages coming from the Spoon. |
| Source | Source/Tunnelblick.spoon/init.lua line 19 |
| Signature | Tunnelblick.password_fn |
|---|---|
| Type | Variable |
| Description | Function returning the password to login to the vpn connection with |
| Source | Source/Tunnelblick.spoon/init.lua line 24 |
| Signature | Tunnelblick.username |
|---|---|
| Type | Variable |
| Description | String username to log in with |
| Source | Source/Tunnelblick.spoon/init.lua line 29 |
| Signature | Tunnelblick:bindHotkeys(mapping) |
|---|---|
| Type | Method |
| Description | Binds hotkeys for Tunnelblick |
| Parameters |
|
| Returns | |
| Source | Source/Tunnelblick.spoon/init.lua line 78 |
| Signature | Tunnelblick:connect() |
|---|---|
| Type | Method |
| Description | Performs the connection operation using a username, password, and connection_name |
| Parameters |
|
| Returns | |
| Source | Source/Tunnelblick.spoon/init.lua line 39 |