From 671b8bf7769ea2e9f0c6ffa63021ccbfb7d4b668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 20 Nov 2020 15:10:31 +0100 Subject: add enable/disable proxy hotkeys This enables/disables the proxy in Internet Options. --- scripts.ahk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts.ahk') diff --git a/scripts.ahk b/scripts.ahk index 5d4b945..797668e 100644 --- a/scripts.ahk +++ b/scripts.ahk @@ -48,6 +48,11 @@ Run, reg import "%A_ScriptDir%\mypal.reg",, Hide DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0) return +; Enable/disable proxy server + +#^p::Run, toggleproxy 1,, Hide +#!p::Run, toggleproxy 0,, Hide + ; Sleep ^+F12 Up:: -- cgit v1.2.3