Sign in to follow this  
Followers 0
QA Stooge

Setting/disabling/reading HTTP proxy?

7 posts in this topic

I guess the title says it all.

I'm trying to set up a HTTP proxy for IE, and I'm wondering if anyone knows what DLL I should probably be calling, or (even better) if there's a command line operation I can use to play with HTTP proxy.

Anyone?

Anyone?

Share this post


Link to post
Share on other sites



By http proxy I'm assuming the setting in tools...internet options, connections, lan settings right? Is it not possible to do a script that navigates through control click the menu changing or 'reading' what you want?

Also I did some snooping around and found this...

http://msdn2.microsoft.com/en-gb/library/aa384069.aspx

Its about using proxycfg.exe which is a commandline proxy configuration tool. I didn't get that much into it but it might be useful.

Also check out the registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

Looks like there are some proxy settings in there as well. Hopefully this was some help.

Andrew


While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd

Share this post


Link to post
Share on other sites

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

...and I'm officially an idiot ;)

well maybe it will still help out someone.... good to know AzKay

Edited by someone

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

By http proxy I'm assuming the setting in tools...internet options, connections, lan settings right? Is it not possible to do a script that navigates through control click the menu changing or 'reading' what you want?

Also I did some snooping around and found this...

http://msdn2.microsoft.com/en-gb/library/aa384069.aspx

Its about using proxycfg.exe which is a commandline proxy configuration tool. I didn't get that much into it but it might be useful.

Also check out the registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

Looks like there are some proxy settings in there as well. Hopefully this was some help.

Andrew

Absolutely! thank you!

the HTTPSetProxy() function allows you to set, but not to view.

Odd how one can set the proxy but not get proxy ;)

Edited by QA Stooge

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

try something with:

RegRead("hkey_current_user\software\microsoft\windows\currentversion\Internet Settings", "ProxyServer")

and

RegRead("hkey_current_user\software\microsoft\windows\currentversion\Internet Settings", "ProxyEnable")
Edited by boltc

Share this post


Link to post
Share on other sites

Hi guys,

Sorry to awake an old thread.

RegRead("hkey_current_user\software\microsoft\windows\currentversion\Internet Settings", "ProxyServer")

and

RegRead("hkey_current_user\software\microsoft\windows\currentversion\Internet Settings", "ProxyEnable")

The above method does not allow me to enter private proxy details( i.e. username and password has to be entered after I try to navigate to the webpage)

Is there a way to walkaround this? i.e without dialog boxes to enter user details...

Thanks

Jester009

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0