Page 1 of 1

Keyboard shorcut to toggle hover box?

Posted: 02 Jun 2024 05:33
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.

Re: Keyboard shorcut to toggle hover box?

Posted: 02 Jun 2024 05:43
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

Re: Keyboard shorcut to toggle hover box?

Posted: 03 Jun 2024 04:26
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.