currently when using Ctrl+backspace to delete the previous word, Farr starts from the end of the line regardless of the cursor position. can Farr be made aware of the cursor position and delete from that position?

can you fellows truly be planning to use such an odd feature?Why not? It is standard behavior for all text boxes in windows (as far as i can tell) and I use it very often, along with other shortcuts (ctrl + del, ctrl + left, ctrl + right, ctrl + shift + del...), so it is a bit confusing when FARR (launcher for keyboard manics) doesn't work as expected.

Hope it works out ok for you.
but i wonder if this works with multi-line edit control?#If ActiveControlIsOfClassAndWindowIsOfClass("TEdit", "TMainForm")
{
^BS::Send ^+{Left}{Del}
^Del::Send ^+{Right}{Del}
}
#If
ActiveControlIsOfClassAndWindowIsOfClass(CClass, WClass)
{
ControlGetFocus, FocusedControl, A
ControlGet, FocusedControlHwnd, Hwnd, , % FocusedControl, A
WinGetClass, FocusedControlClass, % "ahk_id " . FocusedControlHwnd
WinGet, Hwnd, ID, A
WinGetClass, FocusedWindowClass, % "ahk_id " . Hwnd
Return (FocusedControlClass = CClass) and (FocusedWindowClass = WClass)
}
i found a program (mIRC) where this scripts doesn't work..Well it is not surprising to me
The current code is deliberately made to be a bit focused on where it's supposed to work.#If ActiveControlIsOfClassAndWindowIsOfClass("Edit", "mIRC")
{
^BS::Send ^+{Left}{Del}
^Del::Send ^+{Right}{Del}
}
#If
ActiveControlIsOfClassAndWindowIsOfClass(CClass, WClass)
{
ControlGetFocus, FocusedControl, A
ControlGet, FocusedControlHwnd, Hwnd, , % FocusedControl, A
WinGetClass, FocusedControlClass, % "ahk_id " . FocusedControlHwnd
WinGet, Hwnd, ID, A
WinGetClass, FocusedWindowClass, % "ahk_id " . Hwnd
Return (FocusedControlClass = CClass) and (FocusedWindowClass = WClass)
}

Original address: https://www.donationcoder.com/forum/index.php?topic=21301.0