✅ Ctrl+Down = Alt+F8

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Fla$her
Power Member
Power Member
Posts: 2245
Joined: 2020-01-18, 04:03 UTC

✅ Ctrl+Down = Alt+F8

Post by *Fla$her »

We don't have cm_ShowCmdLineHistory as in Double Commander.
Therefore, I want to use the settings in wincmd.ini to get the behavior for Ctrl+Down similar to performing the inconvenient Alt+F8, i.e. without output of the last command.
Last edited by Fla$her on 2023-10-19, 00:57 UTC, edited 1 time in total.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Ctrl+Down = Alt+F8

Post by *petermad »

Have you tried pressing Ctrl+Down twice ?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2245
Joined: 2020-01-18, 04:03 UTC

Re: Ctrl+Down = Alt+F8

Post by *Fla$her »

Sure. But there are problems with this, too. The list may not be open.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Ctrl+Down = Alt+F8

Post by *petermad »

Fla$her wrote: 2023-02-26, 15:20 UTC Sure. But there are problems with this, too. The list may not be open.
:?: :?:
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2245
Joined: 2020-01-18, 04:03 UTC

Re: Ctrl+Down = Alt+F8

Post by *Fla$her »

Sometimes it stops on the last command, and the second press doesn't work.
In any case, it needs to work like Alt+F8.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Ctrl+Down = Alt+F8

Post by *petermad »

Sometimes it stops on the last command, and the second press doesn't work
I haven't noticed - I'll keep an eye out for it.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2245
Joined: 2020-01-18, 04:03 UTC

Re: Ctrl+Down = Alt+F8

Post by *Fla$her »

petermad wrote: 2023-02-26, 20:15 UTCI haven't noticed
I found the cause. If you previously entered some initial characters of the file names of the current folder or the commands of the history list in the command line, then when you repeatedly press Ctrl+Down the selection remains on the remaining right side of the name or command, listing the lines suitable for the filter. As a result, the drop-down list isn't open, which is very annoying. If this is a feature, it is more harmful than useful.

By the way, I want to draw attention to the fact that neither in the help, nor in Keyboard.txt there is no description of the behavior for Ctrl+Down.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Ctrl+Down = Alt+F8

Post by *ghisler(Author) »

This happens when Ctrl+Down gets intercepted by auto-complete/auto-append. Unfortunately I could not find a workaround, the hotkey just never reaches my key handler.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2245
Joined: 2020-01-18, 04:03 UTC

Re: Ctrl+Down = Alt+F8

Post by *Fla$her »

ghisler(Author) wrote: 2023-04-11, 13:29 UTCthe hotkey just never reaches my key handler.
But Alt+F8 doesn't have such a problem. Why can't Ctrl+Down be made the same?
And there is no such problem in DC, Ctrl+Down works stably there.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Ctrl+Down = Alt+F8

Post by *ghisler(Author) »

You can disable auto-complete/auto-append if it bothers you. This function catches the hotkey before TC can see it. Since auto-complete/auto-append doesn't use Alt+F8, it is passed down to the control.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2245
Joined: 2020-01-18, 04:03 UTC

Re: Ctrl+Down = Alt+F8

Post by *Fla$her »

2ghisler(Author)
OK, I set AutoComplete=1. Thanks.
Is it possible in the next version to add a key or an internal command so that immediately when you press Ctrl + Down for the first time, a list appears, as in DC?
Overquoting is evil! 👎
JOUBE
Power Member
Power Member
Posts: 1448
Joined: 2004-07-08, 08:58 UTC

Re: Ctrl+Down = Alt+F8

Post by *JOUBE »

Fla$her wrote: 2023-04-14, 14:29 UTC...add a key or an internal command so that immediately when you press Ctrl + Down for the first time, a list appear...
That would be very good.

JOUBE
JOUBE
Power Member
Power Member
Posts: 1448
Joined: 2004-07-08, 08:58 UTC

Re: Ctrl+Down = Alt+F8

Post by *JOUBE »

This (Total Commander 11.00 beta 1, history.txt) ...

Code: Select all

03.05.23 Release Total Commander 11.00 beta 1
[...]
01.05.23 Added: New internal commands [...], cm_ShowCmdLineHistory, [...]
[...]
... with this (wincmd.ini) ...

Code: Select all

[Shortcuts]
C+DOWN=cm_ShowCmdLineHistory
works as suggested.

@ghisler(Author): Thanks for implementation

JOUBE
Post Reply