Focus file list from preview pane?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
PlorerXY6
Posts: 60
Joined: 13 Oct 2022 19:51

Focus file list from preview pane?

Post by PlorerXY6 »

So in many preview pane apps, you can't use XYP keyboard shortcuts as you're not actually "in" XYP when working in the pane. Would like to manually focus the file list using Autohotkey but going by ClassNN doesn't seem reliable. Is there some way to accomplish this in XYP or with AutoHotkey?

With File Explorer, you can do this even when in the preview pane by focusing: ControlFocus, DirectUIHWND3, A

jupe
Posts: 2811
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Focus file list from preview pane?

Post by jupe »

You just need to send the focus cmd to the XY window, so if you set a global hotkey (via another app/ahk etc) to run something like this via CLI

Xyplorer.exe /feed="::focus"

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

Re: Focus file list from preview pane?

Post by PlorerXY6 »

jupe wrote: 19 Apr 2024 02:07 You just need to send the focus cmd to the XY window, so if you set a global hotkey (via another app/ahk etc) to run something like this via CLI

Xyplorer.exe /feed="::focus"
Thanks this works in Autohotkey:
#IfWinExist ahk_exe xyplorer.exe
^Space::
Run, Xyplorer.exe /feed="::focus"
Return
#IfWinActive

Post Reply