-cm_NextCommand don't works in TC 8.51b3 x64
Moderators: Hacker, petermad, Stefan2, white
-cm_NextCommand don't works in TC 8.51b3 x64
In TC 8.51β3 x32 it works fine.
Update:
It works one time if I click somewhere in panels (left or right) before.
Update:
It works one time if I click somewhere in panels (left or right) before.
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
#259941, TC 11.01 x64, Windows 7 SP1 x64
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It works here also on a button when the command line has the focus, and one of the commands from the history is shown. It just doesn't work when you use it directly in the command line (for obvious reasons).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I guess you have assigned a key to cm_NextCommand - it works the way you describe because TC doesn't accept mapped keys when the focus is on the command line (to assure that all kinds of characters can be entered there).
If you use cm_NextCommand in a button or a menu entry, then it will work also when the focus is on the command line
If you use cm_NextCommand in a button or a menu entry, then it will work also when the focus is on the command line
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Yes, i have assigned both cm_NextCommand and cm_Prevcommand to keys. In TC x86 both command works fine when I press appropriate key regardless focus. In TC x64 only cm_PrevCommand work regardless focus if I sequentially press key. cm_Next command works only one time. If I want call it again I should mouse click at any place on left/right panel and then press assigned for cm_NextCommand key. Is this behavior by design?
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
#259941, TC 11.01 x64, Windows 7 SP1 x64
In TC x86 both command works fine when I press appropriate key regardless focus.
I just tried that in TC 8.51b3 32bit under Windows XP - it does not work the way you describe - I assigned to Ctrl+H - what assignment did you use?
cm_PrevCommand is by default assigned to Ctrl+E
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Cannot confirm. I've assigned next/prev command to Alt+PgUp/PgDn and hotkeys work regardless of focused control. Mentioned Ctrl+E works fine too. Win7x64, TC8.51b3x32/64.
It is not enough details in first post to reproduce problem, way of calling commands is not specified (buttonbar button, hotkey, menu), hotkeys or menu item names are not specified...
Anyway, when command line has focus, Shift+Up/Down allows selecting commands from history.
It is not enough details in first post to reproduce problem, way of calling commands is not specified (buttonbar button, hotkey, menu), hotkeys or menu item names are not specified...
Anyway, when command line has focus, Shift+Up/Down allows selecting commands from history.
Last edited by MVV on 2014-03-19, 05:54 UTC, edited 1 time in total.
I can confirm that it works with Alt+PgUp in both 32bit and 64 bit TC, but as said before it does not work with Ctrl+Letter.
It also works with Ctrl+PgUp, so it doesn't seem to be the modifier key but the main key that makes the difference - though Shift+PgUp doesn't really work, it only goes to first item in the list.
It also works with Ctrl+PgUp, so it doesn't seem to be the modifier key but the main key that makes the difference - though Shift+PgUp doesn't really work, it only goes to first item in the list.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
2petermad
I assigned to Alt+Z -> cm_NextCommand and Ctr+E for cm_PrevCommand.
I check once more how it working in TC 8.51b3 x32 for me - result the same - both work fine.
When I press Ctrl+E or Alt+Z I may cycle through list of commands.
In TC x64 only Ctrl+E (cm_PrevCommand) works fine. No need additional actions. When I press Alt+Z nothing change.
I should mouse click at left/right panel before press Alt+Z (every time) - in this way cm_nextCommand works...
I assigned to Alt+Z -> cm_NextCommand and Ctr+E for cm_PrevCommand.
I check once more how it working in TC 8.51b3 x32 for me - result the same - both work fine.
When I press Ctrl+E or Alt+Z I may cycle through list of commands.
In TC x64 only Ctrl+E (cm_PrevCommand) works fine. No need additional actions. When I press Alt+Z nothing change.
I should mouse click at left/right panel before press Alt+Z (every time) - in this way cm_nextCommand works...
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
#259941, TC 11.01 x64, Windows 7 SP1 x64
I can confirm that Alt+Z only works in 32bit TC when focus is on command line. Unlike Alt+PgUp which works in both 32bit and 64bit TC.
2Ovg
2Ovg
You don't have to assign Ctr+E to cm_PrevCommand it is like that by default.and Ctr+E for cm_PrevCommand.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have checked the code now: The following hotkeys are generally allowed in the command line ONLY when combined with Ctrl, Alt or Win:
- Cursor left, right, up, down
- PageUp, PageDown, Home, End, Delete, Backspace
For all other keys, TC uses the function ToAscii to determine whether the key combination would create a character. If yes, it is not allowed.
Example:
Ctrl+Alt+E -> Euro symbol -> not allowed in command line
Ctrl+Alt+B -> nothing -> allowed in command line
It's possible that ToAscii returns invalid values in some encodings. Just try what the non-working combination does in notepad.
- Cursor left, right, up, down
- PageUp, PageDown, Home, End, Delete, Backspace
For all other keys, TC uses the function ToAscii to determine whether the key combination would create a character. If yes, it is not allowed.
Example:
Ctrl+Alt+E -> Euro symbol -> not allowed in command line
Ctrl+Alt+B -> nothing -> allowed in command line
It's possible that ToAscii returns invalid values in some encodings. Just try what the non-working combination does in notepad.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com