From 857dde66510a0e7228e689cb58dd5795ff4ef337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 18 Jan 2021 16:56:51 +0100 Subject: programs.explorer: Remove Alt-Up hotkey (Windows 7 already provides it) This hotkey was useful in Windows XP, but doesn't work properly in Windows 7. I could probably fix it, but it's easier to just use Windows 7's built-in hotkey. --- tt.programs.explorer.ahk | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tt.programs.explorer.ahk b/tt.programs.explorer.ahk index dead96c..16053da 100644 --- a/tt.programs.explorer.ahk +++ b/tt.programs.explorer.ahk @@ -130,22 +130,6 @@ return ; Directory navigation -LAlt & Up:: -RAlt & Up:: -e := Explorer() -path := e.Document.Folder.Self.path -if (InStr(path, "::{") = 1) - return -slash := InStr(path, "\", 0, 0) -if (slash = StrLen(path)) - slash := InStr(path, "\", 0, 0, 2) -if (slash = 0) - parent = ::{20D04FE0-3AEA-1069-A2D8-08002B30309D} ; My Computer -else - parent := SubStr(path, 1, slash) -e.Navigate(parent) -return - LAlt & Down:: RAlt & Down:: path := ExplorerPath() -- cgit v1.2.3