quarqo 0 Posted July 13, 2011 Hi all, i need some help at Autoit. How can i set-up an proxy for internet navigation. Let's say I have this code : $oIE=_IECreateEmbedded() $site=GUICtrlCreateObj($oIE, 150, 28, 640, 600) _IENavigate($oIE, "exemplesite.com"); You know that will create an object frame same as an browser. But i want to navigate using an proxy ip. Do you know how can i solve this ? Thanks, Quarqo. Share this post Link to post Share on other sites
Exit 149 Posted July 13, 2011 HttpSetProxy() App: Au3toCmd UDF: _SingleScript() Share this post Link to post Share on other sites
quarqo 0 Posted July 13, 2011 It doesn't work for me. It use same default ip. Share this post Link to post Share on other sites
Fire 3 Posted July 13, 2011 (edited) Hi.Check it out:Especially: #include <IE.au3> 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","localhost:8118") sleep(5000) $so=_IECreate("http://www.wieistmeineip.de")where localhost : 8118 listened by TOR. Edited July 13, 2011 by Fire [size="5"] [/size] Share this post Link to post Share on other sites
quarqo 0 Posted July 13, 2011 Thank you for help Fire. it works well. I have 1 more question: how can i reset to default ip after i finish the surfing. ? Share this post Link to post Share on other sites
Fire 3 Posted July 13, 2011 You are Welcome dude. For undo all changes just execute: #include <IE.au3> regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\","ProxyEnable","REG_DWORD","0") regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\","ProxyServer","REG_SZ","130.88.203.27:3124") exit and then exit your script. [size="5"] [/size] Share this post Link to post Share on other sites