Page 1 of 1
ALT+D doesn't focus on address bar
Posted: 29 Apr 2022 00:27
by djbkom
I have the keyboard shortcut ALT+D set to "Focus Address Bar" and I also have my default view displaying the "Find Files" tabs along the bottom.
If I then press ALT+D it doesn't focus on the address bar, but rather enables the "Find Hidden" checkbox.
XYPlorer.png
Is there a way to make it so that custom keyboard shortcuts get applied before other matching ALT+key elements?
Re: ALT+D doesn't focus on address bar
Posted: 29 Apr 2022 00:41
by highend
Because accelerators have precedence
Remove it from the language file...
viewtopic.php?t=18061
Moving it to Q&A
Re: ALT+D doesn't focus on address bar
Posted: 29 Apr 2022 10:09
by admin
There is a tweak as well:
Code: Select all
v19.10.0102 - 2018-08-05 14:28
+ Added tweak to remove all accelerator keys from the main window.
StripAccelerators=1
Using this tweak allows you, for example, to define Alt+D as keyboard
shortcut for "Focus Address Bar" without conflicting with the "Find
Hidden" checkbox (accelerator key = Alt+D) on the Find File tab.
Note that this still won't work e.g. in the German version where the word
for "File" is "Datei" so it starts with a D. In absence of accelerator
keys Windows will use the first letters of the main menu captions to
accelerate access to them.
Re: ALT+D doesn't focus on address bar
Posted: 30 Apr 2022 01:46
by djbkom
No language file exists to modify.
admin wrote: ↑29 Apr 2022 10:09
There is a tweak as well:
Code: Select all
v19.10.0102 - 2018-08-05 14:28
+ Added tweak to remove all accelerator keys from the main window.
StripAccelerators=1
Using this tweak allows you, for example, to define Alt+D as keyboard
shortcut for "Focus Address Bar"
I updated my XYplorer.ini from StripAccelerators=0 to 1 and that did the trick.
Thank you both for taking the time to reply!