EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

inet_proxyenable

Enabling/disabling a proxy server. The function allows you to enable or disable the proxy server for various protocols. Initially, the proxy server must be specified using the inet_proxy function.

func uint inet_proxyenable (
   uint flag,
   uint enable
)

Parameters

flag The flag specifying for which protocols the proxy should be enabled or disabled.
$PROXY_HTTPUse a proxy server for the HTTP protocol.
$PROXY_FTPUse a proxy server for the FTP protocol.
$PROXY_ALLUse a proxy server for all protocols.
$PROXY_EXPLORERTake the proxy server information from the Internet Explorer settings. In this case the proxyname parameter can be empty.
enable Specify 1 to enable the proxy server or 0 to disable the proxy server.

Return value

If the function succeeds, the return value is 1. If the function fails, the return value is 0.

Related links

Source