Suggestion - Switch between connection with special key (Alt e.g.) in menu for Mac OS version.

Suggestions/comments/criticisms are welcome here

PaKostya

Posts: 1
Joined: Thu Oct 21, 2021 7:03 pm

Post by PaKostya » Thu Oct 21, 2021 7:31 pm
My suggestion is add ability to switch between connection with special key (Alt or other) in menu.

For explain my case. I have two profile of connections of Work VPN, first profile uses all network traffic over VPN, second using auto mode. Occasionally I need to switch between these connections. For this I need to disconect first connection and connect to other. It would be better to do click on other connection in menu with special key (Alt e.g.) that will disconnect actual connection and connect to the selected.

Thanks.

James

User avatar
Posts: 2127
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Tue Oct 26, 2021 2:05 am
Hi PaKostya,

Thanks for your feedback - much appreciated! We'll take it on board.

You may like to consider making use of Viscosity’s scripting support. You could write a script that disconnects your current VPN connection, and connects the other one, and either have it in a convenient location (such as on your desktop) to run, or even add it to Viscosity's menu.

You can find information on how to control Viscosity via scripting at:
https://www.sparklabs.com/support/kb/ar ... cript-mac/
https://www.sparklabs.com/support/kb/ar ... g-windows/

Viscosity supports adding custom menu items that run a script. Instructions for adding a custom menu item can be found in the articles below:
https://www.sparklabs.com/support/kb/ar ... menu-items
https://www.sparklabs.com/support/kb/ar ... menu-items

Please note that it’s not necessary to follow the whole bundling guide linked above. For example on macOS you can simply copy your menu item script to "Your Home Folder/Library/Application Support/Viscosity/MenuItems/“ (you will need to create the “MenuItems” folder). The Library folder is hidden under modern versions of macOS. To get to it you'll need to open the "Go" menu in the Finder while holding down the Option key on your keyboard and click the Library item. Your Library folder will open.

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
2 posts Page 1 of 1