• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1014
  • Last Modified:

fast way to deactivate proxy ?

Is there a faster way to deactivate proxy than the 100 clicks in Explorer option ? Some registry setting some secret command ?

Thanks in advance !
0
peter_b
Asked:
peter_b
1 Solution
 
red117Commented:
go to tools..
internet options...
connections...
lan settings...

or go to help...
contents and index...
options...
internet options..
connections..
lan setting...

little longer that way...
but still not alot of clicks...




0
 
peter_bAuthor Commented:
nah there must be a simpler way...
0
 
kikkertmCommented:
he peter,

This looks like a strange one, but I use it and works fine with only 1 click !
You need WSH 5.1 (windows script host)to be installed on the box. To check this, go to the dos prompt (or cmd in NT) and type : wscript and see what happens. otherwise you can download it from : http://msdn.microsoft.com/scripting/default.htm?/scripting/windowshost/doc/wsversion.htm
Also this version I wrote for the English version of IE 5. If you have a different version let me know, I might be able to adapt it.

then open notepad, copy the following code into it :

dim x
set x = createObject("wscript.shell")
x.AppActivate "Microsoft Internet Explorer"
x.sendkeys "%to"
x.sendkeys "+{tab}"
x.sendkeys "{right}{right}{right}"
x.sendkeys "%l"
wscript.sleep (300)
x.sendkeys "{tab 2}"
wscript.sleep (300)
x.sendkeys " "
wscript.sleep (300)
x.sendkeys "{enter 2}"
set x = nothing

and save it somewhere on your harddisk as 'proxyOnOff.vbs'.then create a quicklaunch shortcut to it and voila, a 1 click solution. If proxy is on, this will turn it off and vice versa.

Goodluck.
0
 
FelinaCommented:
What OS are you using?

~Felina
0
 
peter_bAuthor Commented:
win98 but i made a macroexpress macro just the same thanks for the solution though !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now