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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.....

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.