Difference between revisions of "VPN AppleScript Auto Reconnect"

From BTGuard Wiki
Jump to: navigation, search
Line 43: Line 43:
 
2. Make sure '''Show Script menu in menu bar''' is checked. <br/>
 
2. Make sure '''Show Script menu in menu bar''' is checked. <br/>
 
<br/>
 
<br/>
'''THE FOLLOWING SCRIPTS WILL ONLY WORK IF YOU FOLLOWED THESE INSTRUCTIONS TO THE LETTER FOR THE [[PPTP_Mac_OS_X|PPTP METHOD]] AND YOUR VPN CONNECTION IS PROPERLY NAMED: BTGuard VPN'''<br/>
+
'''THE FOLLOWING SCRIPTS WILL ONLY WORK IF YOU FOLLOWED [[PPTP_Mac_OS_X|THESE INSTRUCTIONS]] TO THE LETTER FOR THE [[PPTP_Mac_OS_X|PPTP METHOD]] AND YOUR VPN CONNECTION IS PROPERLY NAMED: BTGuard VPN'''<br/>
 
<br/>
 
<br/>
 
3. To make things easier, we have created some pre-configured scripts for some torrent clients.
 
3. To make things easier, we have created some pre-configured scripts for some torrent clients.

Revision as of 17:31, 23 June 2013

VPNscript_1.png

How To use the VPN Script for Mac


This script will monitor the status of your VPN connection and will automatically try to reconnect you to the VPN if you're disconnected.

This will also allow you to select a program (utorrent in this case) that will automatically be shutdown when disconnected and reopened when reconnected.


VPNscript_2.png

1. First, you'll need to open the AppleScript Editor and go to Preferences.


VPNscript_3.png

2. Make sure Show Script menu in menu bar is checked.

THE FOLLOWING SCRIPTS WILL ONLY WORK IF YOU FOLLOWED THESE INSTRUCTIONS TO THE LETTER FOR THE PPTP METHOD AND YOUR VPN CONNECTION IS PROPERLY NAMED: BTGuard VPN

3. To make things easier, we have created some pre-configured scripts for some torrent clients. Please download the appropriate script depending on the torrent client you use:

  • [http uTorrent]
  • [http Vuze]
  • [http qBittorrent]
  • [http Deluge]
  • [http Transmission]
If you don't feel like editing the script and would like to use another torrent client not listed above, please contact our VPN support center and let us know the ones you'd like to see added above.


VPNscript_4.png

The following steps are only required if you did not name your VPN connection BTGuard VPN or if your favorite torrent client isn't listed above. 4.


VPNscript_5.png



VPNscript_6.png



VPNscript_7.png

Macintosh HD > Users > your username > Library > Scripts


VPNscript_8.png