mwiedemeyer / ProxySwitcher

Proxy Switcher allows you to automatically execute actions, based on the detected network connection. As the name indicates, Proxy Switcher comes with some default actions, for example setting proxy settings for Internet Explorer, Firefox and Opera.
Apache License 2.0
135 stars 60 forks source link

Possibility to repeat checking continuously #20

Closed metalolf closed 7 years ago

metalolf commented 7 years ago

To my shame, I have to admit, that I have to work here in a bad configured network. Even iv the proxy setting are configured with ProxySwitcher or manually, the settings will be reset due to bad configured group policies every few minutes :(

To compile a work-around, I would like to have some information:

  1. Question: what is the frequency ProxySwitcher is checking its defined triggers?
  2. Question: is there a way to continuously repeat (eg. every 5 minutes) the re-checking of ProxySwitcher likewise the manual application which is possible already

Kind Regards, Florian

mwiedemeyer commented 7 years ago

It is checking the network on a network change event sent from Windows. However, you can trigger re-detect with a command line arg: ProxySwitcher.exe /redetect ProxySwitcher must be running already. A call with this argument triggers the running instance to redetect the network config.

Ref: https://github.com/mwiedemeyer/ProxySwitcher/blob/master/ProxySwitcher/App.xaml.cs#L88-L99

metalolf commented 7 years ago

Perfect, thx!

Am 30.03.2017 um 12:27 schrieb Marco Wiedemeyer notifications@github.com:

Closed #20.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.