Thanks to all for the answers and links. Just to close out this thread (pending any further updates by Mr. Ghisler), this is the workaround I've adopted, using AutoHotkey v2 code. It borrows from and expands upon the workaround in the other threads linked above (thanks to Fla$her and Helgef):Again, this is AutoHotkey version 2 code. It requires SetTitleMatchMode to be set to anything but 3 (exact match), and as such, works for the 32- or 64-bit versions of TC. This should enable the "backspace prior word" functionality in most all of the edit boxes of Total Commander, and only there. In other words, I'm still able to map c+back= in my wincmd.ini so that it functions in the main file list. For example, I have my BS key mapped to various forms of "go up" in the directory hierarchy... generally the more mods held down, the higher in the structure we're going, except for the last two combos:Hope this helps someone solve this "backspace prior word" using AutoHotkey, while retaining the ability to map the C+BACK combo in the file list, if they so choose.
Code:
#HotIf WinActive('ahk_exe TOTALCMD') ;restrict to Total Commander && ControlGetClassNN(ControlGetFocus('A')) ~= '^Edit' ;in edit boxes only^BS::Send('+^{Left}{BS}') ;enable ctrl+backspace
Code:
back=cm_GoToParents+back=cm_GoToRootc+back=cm_SrcOpenDrivesas+back=cm_OpenDrivescs+back=cm_OpenDesktopcas+back=cm_OpenNetworka+back=cm_EditPathca+back=cm_SyncChangeDir
Statistics: Posted by sirksel — 2023-12-28, 16:50 UTC