If there's not already a way, would you consider allowing the EXE to be run with a command-line parameter to select the active profile? I have scripts that run based on where my laptop wakes up (e.g. Work, Home, Public).
Added in https://sourceforge.net/p/hostsmanager/code/14/.
The arguments to the application are supplied to a new or running hosts manager as the profile to use:
hostsmanager.exe "Profile To Use"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Added in https://sourceforge.net/p/hostsmanager/code/14/.
The arguments to the application are supplied to a new or running hosts manager as the profile to use:
hostsmanager.exe "Profile To Use"
The UI now updates to reflect the current state of a command-line chosen profile.