sanchay160887 / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

Connect all option #192

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Can a Connect all option be added we already have a Disconnect all, connect all 
would be handy for those with a lot of connections.

What version of Tunnelblick are you using? On what version of OS X?
3.2beta28 (build 2714)  OS X 10.6

Original issue reported on code.google.com by ro...@wookey.name on 14 Aug 2011 at 1:20

GoogleCodeExporter commented 8 years ago

Original comment by jkbull...@gmail.com on 14 Aug 2011 at 1:49

GoogleCodeExporter commented 8 years ago
Tunnelblick has a "connect all" AppleScript command, see
http://code.google.com/p/tunnelblick/wiki/cAppleScriptSupport

The only logical place for it would be the menu, which I've been trying to 
_simplify_. To provide the ability to connect all when there already were 
already some connections, it would have to be a separate, additional menu item. 
Unless I hear more demand for this, I'll turn this down.

Original comment by jkbull...@gmail.com on 14 Aug 2011 at 3:33

GoogleCodeExporter commented 8 years ago
OK, I set up an apple script with the following
tell application "Tunnelblick"
    connect all
end tell

And it works with one minor issue, the tunnelblick menu icon continues to blink 
as if connecting after all connections have succeeded, this doesn't happen if 
connections are done manually.

Original comment by ro...@wookey.name on 14 Aug 2011 at 3:56

GoogleCodeExporter commented 8 years ago
I'll look into the "continuing to blink" problem, thanks.

Original comment by jkbull...@gmail.com on 14 Aug 2011 at 4:30

GoogleCodeExporter commented 8 years ago
I have committed r1766 which fixes the problem of the Tunnelblick icon 
continuing to blink even after all connections have succeeded.

Original comment by jkbull...@gmail.com on 25 Aug 2011 at 1:09