Improve inline tab/shift tab renaming with PreviewDocsFocusStealFixExt=msg

Features wanted...
Post Reply
PlorerXY6
Posts: 83
Joined: 13 Oct 2022 19:51

Improve inline tab/shift tab renaming with PreviewDocsFocusStealFixExt=msg

Post by PlorerXY6 »

Can we get better tab/shift tab renaming with PreviewDocsFocusStealFixExt=msg tweak on (used for the BrandsICT Msg Preview Pane)

Tweak 'steals focus' back to XYP for above, desirable usually, but when renaming inline with edit field active, and using Tab/Shift+Tab (or up/down arrows) with rename field active, the rename field is then stolen back, and you lose the new line's rename edit field focus, which is undesirable.

But if XYP could detect, based on above tweak, that certain file types will have focus stolen back, XYP could then press F2 for us again, after a delay of say 600 ms, and allow inline renaming to work better.

Could above be implemented as a feature to improve serial inline renaming? Not for all file types - only those listed in above tweak!

admin
Site Admin
Posts: 66093
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Improve inline tab/shift tab renaming with PreviewDocsFocusStealFixExt=msg

Post by admin »

No, that's too tweaky. Simply turn off the preview before you serial rename. Or preview as thumbnail.

PlorerXY6
Posts: 83
Joined: 13 Oct 2022 19:51

Re: Improve inline tab/shift tab renaming with PreviewDocsFocusStealFixExt=msg

Post by PlorerXY6 »

admin wrote: 28 May 2024 12:00 No, that's too tweaky. Simply turn off the preview before you serial rename. Or preview as thumbnail.
OK. Here's my attempt at making special keys with Autohotkey for this issue as a workaround if anyone else wants to try it out:


#IfWinActive ahk_class ThunderRT6FormDC ahk_exe XYplorer.exe ;F2 issue bug
<#Tab::
ControlGetFocus, c, A
If ( c = "Edit18" || "Edit21" || c = "Edit23" || c = "ThunderRT6PictureBoxDC70" )
{
Send, {Tab}
;Sleep 1500 ;1500-1800 also works
ControlGet, ThunderRT6PictureBoxDC70Hwnd, Hwnd,, ThunderRT6PictureBoxDC70
Sleep 1000
Send {F2}
}
Else { ; not address bar
Send, {Tab}
}
return
#IfWinActive


#IfWinActive ahk_class ThunderRT6FormDC ahk_exe XYplorer.exe ;F2 issue bug
<#+Tab::
ControlGetFocus, c, A
If ( c = "Edit18" || "Edit21" || c = "Edit23" || c = "ThunderRT6PictureBoxDC70" )
{
Send, +{Tab}
;Sleep 1500
ControlGet, ThunderRT6PictureBoxDC70Hwnd, Hwnd,, ThunderRT6PictureBoxDC70
Sleep 1000
Send {F2}
}
Else { ; not address bar
Send, +{Tab}
}
return
#IfWinActive

Post Reply