Modifying keyboard key press repeat interval using auto scripts

Asked By 0 points N/A Posted on -
qa-featured

I want to automate changing the repeat interval of keys. Presently I am doing it on login every time. But it goes back to default and hence I have to set it on next time log in. Which is the registry in the system which holds the value of repeat rate? Can I change the registry key using some kind of C program? Do I need to also use batch file to run automatically on startup and change the keys repeat rate? Are there any other precautions I have to take while manually editing the registry? Can I edit text file present in HKCU/Control Panel/Keyboard to update the new value and commit? Is there any simpler ways of doing this?

SHARE
Answered By 564720 points N/A #194314

Modifying keyboard key press repeat interval using auto scripts

qa-featured

I’m not sure what the cause of the issue is because normally when you adjust the keyboard repeat rate and other options associated with the keyboard from the Control Panel, the changes you made remains even after restarting the computer. It doesn’t revert to default. If this is what’s happening every time you change the keyboard repeat rate, try changing the keyboard repeat rate from the Windows registry.

You need to use “regedit” to access the Windows registry. To begin, click Start, Run, then type without quotes “regedit” and then hit Enter. In the Registry Editor window, go to [HKEY_CURRENT_USERControl PanelKeyboard]. Double-click KeyboardDelay then change the value to 0, 1, 2, 3, or 4 where 0=1/4 of a second, 1=3/4 of a second, 2=1 ¼ of a second, 3=2 second delay.

In my computer, the keyboard repeat delay option is set to the shortest which is 0. To change the keyboard repeat rate or the number of characters inserted during a repeat operation, double-click KeyboardSpeed then change the value between 0 and 31 with 31 being the fastest. In my computer, the keyboard repeat rate is set to the fastest which is 31.

When you are finished, close the Registry Editor window then restart the computer for the changes to take effect. I’m sure this time the changes won’t revert to default.

Login/Register to Answer

Related Questions