diff options
author | John Ankarström <john@ankarstrom.se> | 2020-12-11 16:44:26 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-12-11 16:44:26 +0100 |
commit | 63a13305b656ce5d2e502773bf2c17c99f3992b3 (patch) | |
tree | 78375ec2c43c6dcb71c5b041670780eca6e98954 | |
parent | 15d51b8def343ab6b577f4c913a2d20baa9e6aa2 (diff) | |
download | ahk-63a13305b656ce5d2e502773bf2c17c99f3992b3.tar.gz |
Remove default browser hotkeys
These were desigend for Windows XP. If I start browser-hopping again,
I might re-instate these hotkeys and update the registry files for
Windows 7.
-rw-r--r-- | build.bat | 1 | ||||
-rw-r--r-- | chrome.reg | bin | 6910 -> 0 bytes | |||
-rw-r--r-- | mypal.reg | bin | 4768 -> 0 bytes | |||
-rw-r--r-- | scripts.ahk | 12 | ||||
-rw-r--r-- | tt.programs.explorer.ahk | 4 |
5 files changed, 4 insertions, 13 deletions
@@ -5,6 +5,5 @@ set out=out if not exist %out%\ md %out% || exit /b 1 for %%f in ("*.ico") do if not exist %out%\%%f copy /y "%%f" %out% for %%f in ("*.bmp") do if not exist %out%\%%f copy /y "%%f" %out% -for %%f in ("*.reg") do if not exist %out%\%%f copy /y "%%f" %out% if not exist %out%\toggleproxy.exe copy /y toggleproxy.exe %out% type tt.*.ahk 2>nul | tt -c"" -d";;" -o%out%/ scripts.ahk || pause
\ No newline at end of file diff --git a/chrome.reg b/chrome.reg Binary files differdeleted file mode 100644 index 8c00c8b..0000000 --- a/chrome.reg +++ /dev/null diff --git a/mypal.reg b/mypal.reg Binary files differdeleted file mode 100644 index bcafc08..0000000 --- a/mypal.reg +++ /dev/null diff --git a/scripts.ahk b/scripts.ahk index f022e7b..3aaa694 100644 --- a/scripts.ahk +++ b/scripts.ahk @@ -36,18 +36,6 @@ return #e::Run, % "explorer /n, ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" #!t::WinSet, AlwaysOnTop,, ahk_class tooltips_class32 ; fix bug -; Set default web browser - -#^d:: -Run, reg import "%A_ScriptDir%\chrome.reg",, Hide -DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0) -return - -#!d:: -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 diff --git a/tt.programs.explorer.ahk b/tt.programs.explorer.ahk index db07380..7012451 100644 --- a/tt.programs.explorer.ahk +++ b/tt.programs.explorer.ahk @@ -38,6 +38,10 @@ ExplorerPath() #IfWinActive ahk_group ExplorerDesktop +; Reload icons + +^+r::DllCall("Shell32\SHChangeNotify", UInt, 0x08000000, UInt, 0, UIntP, 0, UIntP, 0) + ; Open new window/command prompt ^n::Run, % "explorer /n,""" ExplorerPath() """" |