aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.bat1
-rw-r--r--chrome.regbin6910 -> 0 bytes
-rw-r--r--mypal.regbin4768 -> 0 bytes
-rw-r--r--scripts.ahk12
-rw-r--r--tt.programs.explorer.ahk4
5 files changed, 4 insertions, 13 deletions
diff --git a/build.bat b/build.bat
index 6e84be9..e01b78d 100644
--- a/build.bat
+++ b/build.bat
@@ -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
deleted file mode 100644
index 8c00c8b..0000000
--- a/chrome.reg
+++ /dev/null
Binary files differ
diff --git a/mypal.reg b/mypal.reg
deleted file mode 100644
index bcafc08..0000000
--- a/mypal.reg
+++ /dev/null
Binary files differ
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() """"