Page 1 of 1

Keyboard Shortcut to Favorite Directory (Folder)

Posted: 04 Dec 2022 00:27
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.

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 04 Dec 2022 08:31
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

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 04 Dec 2022 08:51
by admin
Turned off on Configuration | Other | Features?

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 04 Dec 2022 14:29
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.'

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 04 Dec 2022 16:30
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.

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 04 Dec 2022 16:35
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.)

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 04 Dec 2022 17:16
by phred
admin wrote: ↑04 Dec 2022 16:35 StripAccelerators=1
Perfect. Thank you.

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 05 Dec 2022 14:03
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.

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 05 Dec 2022 14:19
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.

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 05 Dec 2022 16:39
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?

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 06 Dec 2022 08:07
by admin
Laziness.

Re: Keyboard Shortcut to Favorite Directory (Folder)

Posted: 06 Dec 2022 13:54
by phred
admin wrote: ↑06 Dec 2022 08:07Laziness.
Ahhh ... something I can relate to. Thanks.