Mutebox Posted March 27, 2009 Share Posted March 27, 2009 I am trying to use HttpSetProxy to change to a proxy in a list that I created, but none are being set and its not working correctly. Can anyone help me with this? #include <file.au3> #include <IE.au3> Global $pArray Global $sTxtProxy = "C:\ProxyList.txt" If Not _FileReadToArray($sTxtProxy, $pArray) Then MsgBox(4096, "Error", "Error reading file to Array error:" & @error) Exit EndIf For $pLine = 1 to $pArray[0] ToolTip("Changing Proxy", 0, 0, "Proxy Change") HttpSetProxy(2, $pArray[$pLine]) _IECreate("http://www.whatismyip.com/") Next Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 27, 2009 Share Posted March 27, 2009 (edited) AFAIK HttpSetProxy() is only for inbuilt functions like InetGet(), you need to think up some other solution. Edited March 27, 2009 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Mutebox Posted March 27, 2009 Author Share Posted March 27, 2009 Really? Even though the help file has examples like ; Use no proxy HttpSetProxy(1) ; Use IE defaults for proxy HttpSetProxy(0) ; Use the proxy "www-cache.myisp.net" on port 8080 HttpSetProxy(2, "www-cache.myisp.net:8080") Which these have no reference to InetGet(). Please redefine your post and please know what your talking about or if the Help file is wrong then sorry for even bothering trying to get help from the board were a function was suppose to do what it says its suppose to do. 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