Keyboard shorcut to toggle hover box?

Features wanted...
Post Reply
kurtzd
Posts: 3
Joined: 30 May 2024 23:38

Keyboard shorcut to toggle hover box?

Post by kurtzd »

Hey there,
I was originally looking for a way to write a script to toggle the setting and assign it to a keybind:

Code: Select all

Configuration | Information | File Info Tips & Hover Box | Show Hover Box | Only while the shift key is held down
But that config setting is not accessible via 'setting' or tweak(), so I went looking for a shortcut to assign to the "Hover Box" button toggle on the toolbar... However, I cannot seem to find a way to assign any of this to a keyboard shortcut. Am I just blind and missing something? (This is a distinct possibility).

Thanks for any pointers.

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

Re: Keyboard shorcut to toggle hover box?

Post by jupe »

Technically there is no way to toggle that particular setting without resorting to hacks, but as you mentioned you can toggle the HB entirely, so set a UDC command to Run Script button "hb"; and assign kb shortcut

https://www.xyplorer.com/highlights.php#udc

kurtzd
Posts: 3
Joined: 30 May 2024 23:38

Re: Keyboard shorcut to toggle hover box?

Post by kurtzd »

jupe wrote: 02 Jun 2024 05:43 set a UDC command
Ah! Thank you for the response and suggestion. In hindsight I should have thought of this approach as I put ":hb" into the hamburger menu for now, and I have other scripts on shortcuts. UDC and keybind it is, thanks again.

Post Reply