Thursday, July 27, 2017

windows - User-based keyboard key remapping


Is it possible to remap keys in Windows, but not for the whole computer, but only for the particular user.
I'm aware about the "Scancode Map" key in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout and some sites mentios a similar for HKEY_CURRENT_USER. But I tried, the latter doesn't work in Windows 7.


Answer



This would also be possible in AutoHotKey, its pretty easy to map keys to another key, you could create this script which would run when a user logs in, once the AutoHotKey script is closed (User logs out, or terminate from the System Tray) then it will stop mapping the keys instantly.


I think remapping is as simple as A::B and I think there is a tutorial on the AHK website:
http://www.autohotkey.com/


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...