aboutsummaryrefslogtreecommitdiff
path: root/tt.programs.explorer.ahk
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-01-18 16:56:51 +0100
committerJohn Ankarström <john@ankarstrom.se>2021-01-18 16:56:51 +0100
commit857dde66510a0e7228e689cb58dd5795ff4ef337 (patch)
treeba671875251fdc06c2a8f5c506de9426b13c19a8 /tt.programs.explorer.ahk
parent08daf6e5443ac21daf9bf026cd2e29cba044fbeb (diff)
downloadahk-857dde66510a0e7228e689cb58dd5795ff4ef337.tar.gz
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.
Diffstat (limited to 'tt.programs.explorer.ahk')
-rw-r--r--tt.programs.explorer.ahk16
1 files changed, 0 insertions, 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()