Belini Posted January 25, 2015 Posted January 25, 2015 I'm trying to disable the CTRL more I can not key, tried to create a hotkey more was not possible because the button does not accept hotkey, someone has a tip? My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ
pcjunki Posted January 25, 2015 Posted January 25, 2015 google autoit disable ctrl key returns '?do=embed' frameborder='0' data-embedContent>>
Belini Posted January 25, 2015 Author Posted January 25, 2015 More what I need is to disable the CTRL key instead of sending it, I'm having problem with the CTRL key that is pressed on 2 different computers, have changed keyboards and does not solve, think it's virus more I researched and I have not found way to solve this so for this reason I want to disable the CTRL key! My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ
Malkey Posted January 26, 2015 Posted January 26, 2015 Using the info on this site, I managed to disable the left Ctrl key (scan code 1D) and the right Ctrl key (scan code E0 1D) by using RegEdit.exe and manually adding this "valuename", "type",and "value" to the existing "keyname" (HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout). I then rebooted my computer. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout Scancode Map REG_BINARY 00000000000000000300000000001d0000001de000000000 where:- 00000000 00000000 03000000 00001d00 00001de0 00000000 The red "3" is the number of key to be remapped plus one: The blue "1d00", the left Ctrl key is replaced with the orange null "0000"; The pink "1de0', the right Ctrl key is replaced with the green null "0000"; I could not get the following RegWrite to work. And, after I had manually entered a new value name, I could not get RegDelete to work. I am using Environment(Language:0409 Keyboard:00000409 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) Running:(3.3.12.0) Local $data = Binary('0x00000000000000000300000000001D0000001DE000000000') ConsoleWrite($data & @LF) $s = RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout", "Scancode Map", "REG_BINARY", $data) ConsoleWrite($s & " " & @error & @LF) ;$t = RegDelete("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout", "Scancode Map ") ;ConsoleWrite($t & " " & @error & @LF) After manually deleting the added key name using RegEdit and rebooting, my keyboard was back to normal.
Belini Posted January 26, 2015 Author Posted January 26, 2015 Malkey worked perfectly, until I find a permanent solution to my problem this alternative will serve, thank you for helping! My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now