Page 1 of 1

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

Posted: Thu Oct 21, 2021 7:31 pm
by PaKostya
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.

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

Posted: Tue Oct 26, 2021 2:05 am
by James
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