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
Focus file list from preview pane?
Re: Focus file list from preview pane?
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"
Re: Focus file list from preview pane?
Thanks this works in Autohotkey:
#IfWinExist ahk_exe xyplorer.exe
^Space::
Run, Xyplorer.exe /feed="::focus"
Return
#IfWinActive