rvbfreak Posted June 21, 2010 Share Posted June 21, 2010 I used Dale's WMI Method for changing the proxy in IE. However, it doesnt seem to change the proxy at all. My current code is RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyEnable", "REG_DWORD", "1") RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyServer", "REG_SZ",$currentproxy) $objWMIService2 = ObjGet("winmgmts:{impersonationLevel=impersonate}!\\.\root\CIMV2\Applications\MicrosoftIE") $colIESettings3 = $objWMIService2.ExecQuery ("Select * from MicrosoftIE_LANSettings") $urlread=guictrlread($input2) $delay=guictrlread($delayinp) _IENavigate($embIE,$urlread) sleep($delay) _IENavigate($embIE,"about:blank") $current=$current+1 $currentproxy=_GUICtrlEdit_GetLine($input1,$current) does anyone see why this isnt working? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now