Jump to content
Sign in to follow this  

help change proxy item

Recommended Posts


me need help change proxy to (load proxy.txt) and set proxy.


#include <GUIConstants.au3>
#include <IE.au3>
#include <GUIConstantsEx.au3>

Global Const $sInetSettingsKey = "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings"

GUICreate("Web Browser", 800, 600)
$Edit = GUICtrlCreateInput("http://www.whatismyip.com/", 20, 20, 500, 20)
$oIE = ObjCreate("Shell.Explorer.2")
GUICtrlCreateObj($oIE, 10, 90, 780, 500)


While 1
    $msg = GUIGetMsg()
    Switch $msg
        Case $Vai
            $Link = GUICtrlRead($Edit)
            _IENavigate($oIE, ($Link))
            GUICtrlSetData($Edit, $Link)
        Case $GUI_EVENT_CLOSE


Func MySetProxy($sProxy = "", $fEnable = True)
    Local Static $sPrev = ""
    Local Static $fWasEnabled = False

    If $sProxy = "" Then
        If $sPrev <> "" Then __setProxyInfo($fWasEnabled, $sPrev)
        If $sPrev = "" Then
            $sPrev = RegRead($sInetSettingsKey, "ProxyServer")
            $fWasEnabled = RegRead($sInetSettingsKey, "ProxyEnable")

        __setProxyInfo($fEnable, $sProxy)

Func __setProxyInfo($fEnabled, $sProxy)
    RegWrite($sInetSettingsKey, "ProxyEnable", "REG_DWORD", 1)
    RegWrite($sInetSettingsKey, "ProxyServer", "REG_SZ", $sProxy)


Share this post

Link to post
Share on other sites

@AHRIMANSEFID, you have been around long enough (and we have been through this conversation enough times), to know you need to provide more information if you expect a decent amount of help. Where is the code failing? What sort of error(s) are you seeing? What have you tried on your own already?

Your past posts consisting of just "fix for me" have ultimately led to you getting zero assistance. Such as this post:

Or this one:

Let us hope you have learned a bit in your time away from the forum, and will actually help us help you. As I have told you in the past, if it is a language barrier issue, write in your native tongue and allow Google Translate to do its magic. ;)

Edited by JLogan3o13

Share this post

Link to post
Share on other sites

Hello everybody,

I have figured out a way to earn some automatic money while sleeping

For that I need someone that can make a bot
So the bot will be for this website : <snip>
Everyone can make one, I 'll say how to make when I'll make the guide with the bot

To can really earn the bot needs to :
-> View website like an Auto website viewer, but When it opens the website, if there's an Click on page popup under wait 8-40 seconds and then close it and delete cookies and loop

If it's possible to make it switch from pages it would be awesome
-> Support 2k+ proxy

Thank you very much

Edited by JLogan3o13

Share this post

Link to post
Share on other sites

@AHRIMANSEFID the fact that you need to change proxy settings that often tells me you're trying to get around anti-bot measure on the site. This is not something we're prepared to support. I suggest you read the forum rules; thread locked.

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Create New...