BrowserAPI
BrowserSetProxyAutoConfigFile( in sConfigUrl : string ): boolean;
| Parameter | Description |
|---|---|
| sConfigUrl | Specifies the location of the PAC file. This may be a Web URL like http://localhost:81/proxy.pac or it may be a file location like file://K:/temp/proxy.pac. Specify an empty string ("") to reset this setting. |
true if successful
false otherwise
transaction TMain
begin
BrowserStart(BROWSER_MODE_DEFAULT, 800, 600);
BrowserSetProxyAutoConfigFile("http://proxy.mydomain.com/proxy.pac");
BrowserNavigate("www.mycompany.com");
end TMain;