autoitxp Posted April 24, 2008 Share Posted April 24, 2008 Hi i want to know how to use HttpSetProxy() ? can i use with _iecreate ?#include <IE.au3>HttpSetProxy(2, "127.0.0.1" , 8080)$oIE = _IECreate ("www.autoitscript.com")Nothing happens ? Link to comment Share on other sites More sharing options...
TomZ Posted April 24, 2008 Share Posted April 24, 2008 The SetProxy functions are only for the Inet functions. Link to comment Share on other sites More sharing options...
Xenobiologist Posted April 24, 2008 Share Posted April 24, 2008 Hi (Jon) can you provide the code of that function. I also got trouble with it. Thanks! Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
autoitxp Posted April 24, 2008 Author Share Posted April 24, 2008 k how to get soruce using HttpSetProxy #include <INet.au3> ConsoleWrite(_INetGetSource('www.autoitscript.com')) Link to comment Share on other sites More sharing options...
herewasplato Posted April 24, 2008 Share Posted April 24, 2008 HttpSetProxy(2, "127.0.0.1" , 8080)So your username is 8080?Help file: HttpSetProxy(2, "www.proxy.com:8080")Only CERN proxy servers are supported. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
autoitxp Posted April 24, 2008 Author Share Posted April 24, 2008 (edited) its port not user name im using transparent proxy at port 8080 no user name no password Edited April 24, 2008 by autoitxp Link to comment Share on other sites More sharing options...
herewasplato Posted April 24, 2008 Share Posted April 24, 2008 its port not user name im using transparent proxy at port 8080 no user name no passwordSo the syntax that you posted in your OP is crap.HttpSetProxy(2, "127.0.0.1" , 8080) ;your posted codeHttpSetProxy(2, "127.0.0.1:8080") ;from the help fileYou might want to change the title of your thread - you might get more help :-)"HttpSetProxy() What crap ?" [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
TomZ Posted April 24, 2008 Share Posted April 24, 2008 k how to get soruce using HttpSetProxy #include <INet.au3> ConsoleWrite(_INetGetSource('www.autoitscript.com')) I do not think _InetGetSource will work with SetProxy, as it is an UDF. Link to comment Share on other sites More sharing options...
autoitxp Posted April 28, 2008 Author Share Posted April 28, 2008 (edited) Hi how to know that proxy used in httpSetProxy() working or not coz it Returns 1 for success Returns 0 to Failure but but but every time it return to 1 even proxy waz dead so how to know that proxy working or nt ? Edited April 28, 2008 by autoitxp 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