ALT+D doesn't focus on address bar

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
djbkom
Posts: 2
Joined: 02 Mar 2020 06:52

ALT+D doesn't focus on address bar

Post 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?
To see the attached files, you need to log into the forum.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: ALT+D doesn't focus on address bar

Post by highend »

Because accelerators have precedence

Remove it from the language file...

viewtopic.php?t=18061

Moving it to Q&A
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 67235
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ALT+D doesn't focus on address bar

Post by admin »

There is a tweak as well:

Code: Select all

StripAccelerators=1

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.

djbkom
Posts: 2
Joined: 02 Mar 2020 06:52

Re: ALT+D doesn't focus on address bar

Post by djbkom »

highend wrote: ↑29 Apr 2022 00:41 Remove it from the language file...
viewtopic.php?t=18061
Moving it to Q&A
No language file exists to modify.


admin wrote: ↑29 Apr 2022 10:09 There is a tweak as well:

Code: Select all

StripAccelerators=1

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!

Post Reply