T
T
tfc2021-05-01 13:28:25
Windows
tfc, 2021-05-01 13:28:25

How to make it so that the numpad point would always write a dot, not a comma when using 3 layouts?

Hello. Regional Settings I have English. Layout 3: English, Russian, German. So the numpad dot writes with a dot only on the English layout. And on the rest, a comma. It is necessary that always and everywhere there was a point. Can this be achieved?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
Confy, 2021-05-01
@Confy

This can be done with AutoHotkey - a utility for automating tasks
1. First you need to create a folder somewhere where the script files will be located

Folder structure of the finished script

608d4ddd3689d161442144.png

2. Then you need to download the AutoHotkey compiler. Direct link: here
At the root of the archive, select AutoHotkeyU 32 .exe or AutoHotkeyU 64 .exe
The choice depends on the bit depth of Windows
All AHK scripts are launched through this file
3. The script itself will look something like this:
script.ahk
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir% 
#SingleInstance force
#Persistent
Menu, Tray, Tip, % "AHK: Закрепить точку нампада"


NumpadDot::
  Send .
  Return

The script code must be copied to any text editor and saved with the .ahk extension. You can
run the script by dragging the script file into the AutoHotkey.exe file. The script
icon will appear in the Windows tray.
More details about each line of the script can be found
looking for documentation
608d5479103a8554424084.png

4. For convenience, in order not to "drag and drop" the script file onto the AutoHotkey.exe file all the time, it is worth creating a vbs script that will run the script without showing the command line...
fixed-num-dot.vbs
opener = ".\AutoHotkeyU64" ' предположим что разрядность Windows = 64
file = ".\script.ahk"

set WShell = WScript.CreateObject("Wscript.Shell")
WShell.Run  opener & " " & file, 0, false

That's all. A shortcut to the vbs script can be displayed on the desktop or even in the startup folder

J
John Smith, 2021-05-03
@ClearAirTurbulence

Here's an option that doesn't require constantly running third-party programs like AHK.
see here https://superuser.com/questions/1007032/change-num...
the answer is about Microsoft Keyboard Layout Creator 1.4 from user FURATUS. There are instructions with links.
TLDR download and put on the path without spaces
https://www.microsoft.com/en-us/download/details.a...
Run
file\load existing keyboard
select russian
change , to . on numkey dot
Project\Properties, enter something obvious, I indicated RussianD (there is a length limit) in the name and Russian - NumDot in the description of
Project\Build DLL and Setup package
Open the place where it was compiled
Run Setup
Allow launch - the elevation requirement can be minimized, if it does not appear, look in the taskbar
After that:
Win + I
Time & Language
Language
LMB in Russian Options
and Remove buttons will appear Russian and yours, I have Russian - NumDot We delete the usual Russian, NumDot remains. That's it, I now have Numpad dot dot in both Russian and English. Beauty, I just wanted to do this for myself for a long time, thanks for the incentive!

A
Alexander, 2021-05-01
@NeiroNx

in the language settings, select a dot everywhere.

T
tfc, 2021-05-01
@tfc

What I have found so far. here is the reg file

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,34, 00,53,00,00,00,00,00

now on all the layouts he writes a dot and in Russian the letter u
))))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question