Keyboard Shortcut to Favorite Directory (Folder)

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
phred
Posts: 222
Joined: 26 Dec 2021 02:10
Location: Boston USA

Keyboard Shortcut to Favorite Directory (Folder)

Post by phred »

Using 23.80

I'm trying to find an easy way to set up keyboard shortcuts to a few directories (some are already in 'favorites' and some are not.)

In this thread from 2019 Don mentions the menu User > Manage Commands. I see no 'user' item in the menu bar. Am I looking in the correct place? Has this been removed? viewtopic.php?p=169891#p169891

Thanks.

kiwichick
Posts: 557
Joined: 08 Aug 2012 04:14
Location: Pahiatua, New Zealand

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by kiwichick »

phred wrote: 04 Dec 2022 00:27 I see no 'user' item in the menu bar.
That's very strange. Do you not see this?
2022-12-04_202850.png
2022-12-04_202850.png (2.75 KiB) Viewed 616 times
Windows 10 Pro 22H2

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

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by admin »

Turned off on Configuration | Other | Features?

phred
Posts: 222
Joined: 26 Dec 2021 02:10
Location: Boston USA

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by phred »

admin wrote: 04 Dec 2022 08:51 Turned off on Configuration | Other | Features?
Thanks Don. Everything was checked under 'features' with the exception of 'user-defined commands.'

phred
Posts: 222
Joined: 26 Dec 2021 02:10
Location: Boston USA

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by phred »

In the process of setting up some keyboard shortcuts, I have created ALT-O (the letter O, not zero) to open the directory in which I have my MS Office files. It works as expected, but it also opens up the favorite folders dropdown from the menu bar. I don't see ALT-O being assigned to anything else. And I don't see that opening the favorites folder from the menu bar can be assigned to a hotkey.

I want ALT-O to open the configured folder in a new tab, which it currently does, but without opening up the dropdown for favorites. Any idea why this is happening?

Thanks.

EDIT: I'm now finding that ALT-A is doing the same thing but with a new designated folder. ALT-M and ALT-C are opening up the assigned folder without bringing up the favorites dropdown.

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

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by admin »

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. So, no Alt+D for Germans. :) (There is a 
      political pun in this I won't explain here.)

phred
Posts: 222
Joined: 26 Dec 2021 02:10
Location: Boston USA

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by phred »

admin wrote: 04 Dec 2022 16:35 StripAccelerators=1
Perfect. Thank you.

phred
Posts: 222
Joined: 26 Dec 2021 02:10
Location: Boston USA

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by phred »

Is the StripAccelerators tweak simply an on/off parameter (0 or 1)?

Changing it from 0 to 1 stopped the favorites menu from dropping down, but now as I'm adding more hotkeys I'm finding that they're causing other menubar items to drop down. These are causing the menubar to dropdown:
ALT-E (Edit)
ALT-V (View)
ALT-G (Go)
ALT-U (User)
ALT-S (Scripting)
ALT-P (Panes)
ALT-W (Window)
ALT-H (Help)

These opened the dropdown before changing the tweak but now do not:
ALT-F (File or Folder)
ALT-T (Tags or Tabsets or Tools)
Probably because there is more than one menubar item with the same first letter.

Before applying the tweak, ALT-A and ALT-O were opening up a dropdown but now they're not.

How can I disable all of the menubar dropdowns from appearing when using a keyboard hotkey ALT-the first letter of the menubar item?

Thanks.

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

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by admin »

Code: Select all

In absence of accelerator keys Windows will use the first letters of the main menu captions to accelerate access to them.
There might be a way to stop that, but it's not implemented ATM.

phred
Posts: 222
Joined: 26 Dec 2021 02:10
Location: Boston USA

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by phred »

admin wrote: 05 Dec 2022 14:19

Code: Select all

In absence of accelerator keys Windows will use the first letters of the main menu captions to accelerate access to them.
Thanks for pounding that piece into my head. I guess I should start reading -all- the words.
There might be a way to stop that, but it's not implemented ATM.
I notice that the Win key isn't available for hotkeys. Is there a reason for that?

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

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by admin »

Laziness.

phred
Posts: 222
Joined: 26 Dec 2021 02:10
Location: Boston USA

Re: Keyboard Shortcut to Favorite Directory (Folder)

Post by phred »

admin wrote: 06 Dec 2022 08:07Laziness.
Ahhh ... something I can relate to. Thanks.

Post Reply