Change dot on numpad to comma in specific program

Hi experts,

I have a question concerning the dot-key on the numpad:

In a specific program I want the dot to be replaced by a comma. So if a user pushes the dot on the numpad a comma should appear in the screen. I do allready have a script that makes a change in the registry, but that script does change it for all programs and I only want it to be changed for one specific program.

Is something like this possible or not? And if possible, can someone tell me how to reach this?

If my question is not clear, please tell me, then I will give additional info.

Looking forward to your replies!
Who is Participating?
johnb6767Connect With a Mentor Commented:
Whats the reg key/.reg file you use to change this?

More than likely, it cannot be done by application. Maybe a third party app of some sort to capture all keystrokes and modify it on the fly, but I doubt it.....
Gary CaseRetiredCommented:
There are a variety of free keymapping utilities, and a few paid ones.    However, everyone I'm aware of maps the keys for ALL programs that are used while the keymapping is active.     It's usually very simple to change the mapping -- in fact you could do the same thing with a pair of simple scripts ... one to map the key;  one to undo the mapping.

You could make shortcut to a simple batch file (.CMD) to run the application involved here that included these three simple lines:

<Script to map the key>
<The application you want the mapping to work in>
<Script to unmap the key>

If, however, you want the user to be able to run multiple simultaneous applications, with the mapping active in some, but not in others, there's no way I know of to do that within the same instance of Windows.    In that case, you could simply run the specific application that needs the mapping in a virtual machine, and map the key in that VM.
All Courses

From novice to tech pro — start learning today.