From NSIS Wiki
|Author: M.Ratz (talk, contrib)|
ProxySettings Plugin ©2008 by M.Ratz,
ProxySettings.zip (93 KB)
Zip-file contains binary, source and documentation.
This plugin makes it possible to set and read proxy-settings and connection information for dialup-connections and LAN-connection
Usage of plugin
The following example shows how to change the proxy-settings for all dialup-connections but only for http-proxy:
... ProxySettings::GetConnectionCount pop $0 ProxySetLoop: intop $0 $0 - 1 ProxySettings::GetConnectionName $0 pop $1 ProxySettings::SetConnectionProxyByProtocol $1 _ "servername.com:80" "http" ProxySettings::GetConnectionProxy $1 pop $2 DetailPrint "Proxy of $1 changed to $2" intcmp $0 0 ProxySetLoopDone ProxySetLoopDone ProxySetLoop ProxySetLoopDone: ...
Please read the documentation for verbose descriptions how to use the plugin-functions and for exact meanings of function's parameters.
- Written by M.Ratz
- last edited 06/02/2008