-
-
Save nightsparc/93346fe793f110abb850f128b8bc3dc3 to your computer and use it in GitHub Desktop.
AutoHotkey script to fix Ctrl+Backspace (delete previous word) in File Explorer and Desktop (AHK V1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; source: https://gist.github.com/AdrienVR/4136db1bfb0d3d3490b0d1e23e56daf9 | |
; context: http://superuser.com/a/636973/124606 | |
#NoEnv | |
; Reloard script if not used | |
; https://www.autohotkey.com/docs/v2/lib/_SingleInstance.htm | |
#SingleInstance force | |
; https://www.autohotkey.com/docs/v2/lib/SendMode.htm | |
SendMode Input | |
#IfWinActive ahk_exe explorer.exe | |
^Backspace:: | |
#IfWinActive ahk_class Progman ; Desktop | |
^Backspace:: | |
;#IfWinActive ahk_exe ditto.exe | |
; ^Backspace:: | |
Send ^+{Left}{BackSpace} | |
#IfWinActive | |
; how to write scripts: http://www.autohotkey.com/docs/ | |
; | |
; | |
; writing hotkeys | |
; http://www.autohotkey.com/docs/Hotkeys.htm | |
; list of key codes (including Backspace) | |
; http://www.autohotkey.com/docs/KeyList.htm | |
; the #IfWinActive directive | |
; http://www.autohotkey.com/docs/commands/_IfWinActive.htm | |
; the Send command | |
; http://www.autohotkey.com/docs/commands/Send.htm | |
; how to write scripts: http://www.autohotkey.com/docs/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only send the command once...