Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AutoHotkey: Disable Ctrl+Shift (Windows 10 - keyboard layout switch)

How can I disable the Ctrl+Shift hotkey (keyboard layout switching) in Windows 10 using AutoHotkey?

(However I would like to keep all combinations of this: Ctrl+Shift+Any other key)

I've tried this, but it's not blocking the hotkey:

; Test.ahk
; Try disable Ctrl+Shift
+^::

Edit: I've found a way to disable it in newer Windows 10 builds without AHK:
https://superuser.com/a/1322396
But I think the question is still standing.

like image 547
user Avatar asked Sep 13 '19 19:09

user


2 Answers

Write this in your execute prompt (using Window + r):

rundll32 Shell32.dll,Control_RunDLL input.dll,,{C07337D3-DB2C-4D0B-9A93-B722A6C106E2}{HOTKEYS}

it will show you the panel directly so you can disable the hotkey in the change key sequence button.

like image 125
Mou Avatar answered Sep 21 '22 15:09

Mou


Click "Clock, Language, and Region" from the control panel
Click "Language"
Click "Advanced settings" in the right column
Under "Switching input methods", click "Change language bar hot keys"
Select "Between input languages" and click "Change Key Sequence"
Disable/change the keyboard shortcut as you'd like
like image 45
Dexirian Avatar answered Sep 22 '22 15:09

Dexirian