cm_LeftPathFocus and cm_RightPathFocus shortcuts prolem
Moderators: Hacker, petermad, Stefan2, white
cm_LeftPathFocus and cm_RightPathFocus shortcuts prolem
I try to Defines shortcuts to cm_LeftPathFocus and cm_RightPathFocus.
but don't work without ALT key
MY ini setting like below
[Shortcuts]
OEM_US[{=cm_LeftPathFocus
OEM_US]}=cm_RightPathFocus
my system is window xp sp3+tc8.0
but don't work without ALT key
MY ini setting like below
[Shortcuts]
OEM_US[{=cm_LeftPathFocus
OEM_US]}=cm_RightPathFocus
my system is window xp sp3+tc8.0
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, they are character keys, so you cannot use them alone. They will be redirected either to quick search, or the command line.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2rmmaniac
OEM_US[{=cm_LeftPathFocus
C+OEM_US[{=cm_LeftPathFocus
A+OEM_US[{=cm_LeftPathFocus
they all work - but you have to change your keyboard layout to US. You can usually do that by pressing Shift+LeftAlt to change between your usual keybord and US-keyboard.
Otherwise run control.exe intl.cpl,,1 and click the button "Details".
OEM_US[{=cm_LeftPathFocus
C+OEM_US[{=cm_LeftPathFocus
A+OEM_US[{=cm_LeftPathFocus
they all work - but you have to change your keyboard layout to US. You can usually do that by pressing Shift+LeftAlt to change between your usual keybord and US-keyboard.
Otherwise run control.exe intl.cpl,,1 and click the button "Details".
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
2umbra
OK - let's say it in another way: You have to use a keyboard layout where the [{ and the ]} keys are separate keys that does not reqire a modifier key.
For example in Danish keyboard layout the characters {, [, ] and } are placed on the 7, 8, 9, 0 keys and you have to press the AltGr key to get to the characters {, [, ] and }.
The OEM_US[{ key is placed where I have åÅ, so if I remap OEM_US[{ I will still just type å if I press that key - i HAVE to change keyboard layout.
Since it apparantly doesn't work for rmmaniac it is overwhelmingly likely that it is because he has a keyboard layout similar to the Danish. It could be Estonian, Latvian, Finnish, Icelandic, Norwegian, Swedish, Turkish, German to mention some.
That is why I advise rmmaniac to switch to US-English keyboard since it is usually always activated by default as an alternative keyboard in Windows XP.
OK - let's say it in another way: You have to use a keyboard layout where the [{ and the ]} keys are separate keys that does not reqire a modifier key.
For example in Danish keyboard layout the characters {, [, ] and } are placed on the 7, 8, 9, 0 keys and you have to press the AltGr key to get to the characters {, [, ] and }.
The OEM_US[{ key is placed where I have åÅ, so if I remap OEM_US[{ I will still just type å if I press that key - i HAVE to change keyboard layout.
Since it apparantly doesn't work for rmmaniac it is overwhelmingly likely that it is because he has a keyboard layout similar to the Danish. It could be Estonian, Latvian, Finnish, Icelandic, Norwegian, Swedish, Turkish, German to mention some.
That is why I advise rmmaniac to switch to US-English keyboard since it is usually always activated by default as an alternative keyboard in Windows XP.
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
<off-topic>
2petermad
OK, I think I know what you are talking about now. I installed a Danish layout and now the OEM_US[{ is mapped to a different physical key on my keyboard (the one next to Backspace). So basically you are assuming, that rmmaniac is switching between two layouts that have OEM_US[{ mapped to two different physical keys, but he tries to use the same key in both layouts. Right?
If so, I don't understand your last post. What does it matter that "{, [, ] and } are placed on the 7, 8, 9, 0 keys ..." or that "The OEM_US[{ key is placed where I have åÅ, so if I remap OEM_US[{ I will still just type å if I press that key ..."? TC doesn't check what letter you type when you press some key, only what the key's name is. So in your case if your OEM_US[{ is mapped to åÅ and you have C+OEM_US[{ in your wincmd.ini, then Ctrl+å should work.
2petermad
OK, I think I know what you are talking about now. I installed a Danish layout and now the OEM_US[{ is mapped to a different physical key on my keyboard (the one next to Backspace). So basically you are assuming, that rmmaniac is switching between two layouts that have OEM_US[{ mapped to two different physical keys, but he tries to use the same key in both layouts. Right?
If so, I don't understand your last post. What does it matter that "{, [, ] and } are placed on the 7, 8, 9, 0 keys ..." or that "The OEM_US[{ key is placed where I have åÅ, so if I remap OEM_US[{ I will still just type å if I press that key ..."? TC doesn't check what letter you type when you press some key, only what the key's name is. So in your case if your OEM_US[{ is mapped to åÅ and you have C+OEM_US[{ in your wincmd.ini, then Ctrl+å should work.
Windows 10 Pro x64, Windows 11 Pro x64
It is more complicated than that - but I can tell you that after remapping OEM_US[{ neither pressing å nor pressing AltGr+{ of AltGr+[ works when Danish keyboard is active. With { and [ I mean the keys that are physically marked with those characters on a Danish keyboard.So in your case if your OEM_US[{ is mapped to åÅ and you have C+OEM_US[{ in your wincmd.ini, then Ctrl+å should work.
But you are right - TC remaps OEM_US[{ to the key to the left of Backspace when Danish keyboard is active - but this key is physically marked ´`| (a so-called dead key) on a Danish keyboard - so it is hard to guess that this is the key being remapped - how did you find it - trial and error? If you look at this page none of the shown layouts has [ on that key.
But maybe this is the solution for rmmaniac - that he shall just use the key to the left of Backspace.
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
2rmmaniac
What keyboard layout are you using (what language), and what key are you pressing (try describing it's location relative to keys like backspace or Enter or left/right Shift key).
What keyboard layout are you using (what language), and what key are you pressing (try describing it's location relative to keys like backspace or Enter or left/right Shift key).
If you are talking about what is happening during the remapping in TC's configuration - then you have to click the button with the green checkmark after each remapping.OEM_US[{=cm_LeftPathFocus work only FIRST time.
after press OEM_US]}=cm_RightPathFocus.and repeat OEM_US[{=cm_LeftPathFocus don't work anymore
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:
It depends on the keyboard layout - on some layouts, the keys to the right of the "P" are dead keys which produce an accent together with some other key - then you will get strange results when trying to use this code.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com