Page 1 of 1

Focus switch from Tree>List with SetFocusTo tweak - mouse left-click works, keyboard Enter doesn't

Posted: 19 Feb 2022 16:59
by JJR
Hi all,

I'm personalizing XYPlorer for a 100% keyboard workflow.

One thing I can't solve is automatically switching focus from the Tree to the List after hitting Enter on a folder in the Tree.

I have SetFocusTo=7 in my .ini, and when I hit Enter on an item in the Catalog or on a typed/selected address in the Address Bar, focus switches automatically to the List, which is awesome.

However when the Tree is focused, and I navigate with left/right/up/down keys then hit Enter, focus doesn't switch to the List but stays on the Tree. I then have to switch focus manually with a shortcut (#1016 Miscellaneous | Focus Functions | Focus List) - default binding Control+Alt+L, customized to alphanum 2.

This Tree>List focus behaviour only occurs with keyboard Enter. Mouse left click on a folder in the Tree switches focus to the List as expected.

I also have Tree and Catalog focus bound to alphanum 1 and 3 and these three shortcuts are very useful in other contexts, but it would be great if I could bypass this particular Tree>List focus step.

Can anyone inform me of a way to make Enter behave the same way as a mouse left click in this context?

Thanks :)

Re: Focus switch from Tree>List with SetFocusTo tweak - mouse left-click works, keyboard Enter doesn't

Posted: 22 Feb 2022 12:55
by JJR
Bump

Re: Focus switch from Tree>List with SetFocusTo tweak - mouse left-click works, keyboard Enter doesn't

Posted: 30 Apr 2022 11:16
by admin
JJR wrote: ↑19 Feb 2022 16:59 Can anyone inform me of a way to make Enter behave the same way as a mouse left click in this context?
It's not possible.

Re: Focus switch from Tree>List with SetFocusTo tweak - mouse left-click works, keyboard Enter doesn't

Posted: 30 Apr 2022 12:35
by highend
You could achieve that with AutoHotkey...

E.g.:
_XYplorer - Enter in tree changes focus.xys
Rename the extension to ahk^^