Hi,
I know IE proxy is automatically used on other connections. But I still want to fetch the current proxy setting, (so that: while other softwares go through PAC with the current proxy, this specific ahk script will go through "global" current proxy) it's always 127.0.0.1, so I guess I want the port number.
I checked my registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\
did not find any "proxy" or my current proxy port "7080" or "7081".
Any idea?
Appreciate any help.
fetch IE proxy port number? Topic is solved
Re: fetch IE proxy port number? Topic is solved
you use AHK function regread
Code: Select all
; RegRead, OutputVar, KeyName [, ValueName]
RegRead, OutputVar1, HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings, ProxyServer,
RegRead, OutputVar2, HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings, Proxyenable,
MsgBox, Proxy Server: %OutputVar1% | Status: %OutputVar2%
"When there is no gravity, there is absolute vacuum and light travel with no time" -Game changer theory
Re: fetch IE proxy port number?
Works like a charm. Thanks a lot!Xeo786 wrote: ↑15 Jan 2019, 01:52you use AHK function regread
Code: Select all
; RegRead, OutputVar, KeyName [, ValueName] RegRead, OutputVar1, HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings, ProxyServer, RegRead, OutputVar2, HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings, Proxyenable, MsgBox, Proxy Server: %OutputVar1% | Status: %OutputVar2%
Who is online
Users browsing this forum: OrangeCat and 285 guests