-
I've read these instructions for enabling the debug tap.
Two questions: I have an old keyboard and RALT is key-mapped (registry) to RWIN. So I don't have two Alt keys. Do you think SendInput() will work in an EXE? Are the instructions suggesting (for example, profile 1) the chord Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
I'm not sure it actually works at all with keybindings - the easier way is to just use the dropdown. Though, if you don't have two alt keys, then I dunno what to say. Temporarily remap it back to right alt? The debug tap isn't really a robust scenario. |
Beta Was this translation helpful? Give feedback.
-
Heehee! I tried SendInput() ... LMENU down, RMENU down ... sleep a while while I do the dropdown ... RMENU up, LMENU up. Not only did that not work, but it left the system thinking an Alt key was down. I had to log out/in to fix that. I wonder if the key-map (RALT -> RWIN) is triggered when I use SendInput(). |
Beta Was this translation helpful? Give feedback.
-
I'll say! It works once in a while (I'd guess 1 in 8 tries). But it usually just crashes windowsterminal.exe, leaving openconsole.exe (but usually not the shell) stranded. Can I supply more than this?
|
Beta Was this translation helpful? Give feedback.
-
I suspect you're hitting #11282, which we also just found 😄 |
Beta Was this translation helpful? Give feedback.
-
Sure does. Sorry I missed that. |
Beta Was this translation helpful? Give feedback.
-
@vefatica One way you can trigger the debug tap without a second |
Beta Was this translation helpful? Give feedback.
-
Thanks, @j4james. That actually worked the first three times, and then windowsterminal crashed the next three times. I had gotten around the difficulty by mapping RAlt to CapsLock. That was easy since CapsLock was aleady in my keymap with no action (i.e., disabled). |
Beta Was this translation helpful? Give feedback.
@vefatica One way you can trigger the debug tap without a second
Alt
key is by using the on-screen keyboard. If you click on theAltGr
key on that keyboard, it will temporarily lock it down as if it were pressed, and then you can press theAlt
key on your physical keyboard (which will mean both of them are now pressed) while using the mouse to click the menu item for the profile you wish to launch.