如何在 Windows Vista 上将键重新映射到符号?

如何在 Windows Vista 上将键重新映射到符号?

您如何不使用按键而是使用符号进行重新映射。例如,使用 []{}();!“' 来替换数字键盘,我找不到可以做到这一点的程序。什么程序可以做到这一点?我找不到任何可以做到这一点的免费程序。

答案1

正如 Dennis 所说,使用 Autohotkey。下载并安装。在任意位置创建一个新的 .txt 文件。在记事本中打开该文件,然后复制粘贴以下代码:

Numpad7::{
NumpadDiv::"

Numpad7现在有{,numpad/现在有"。您需要重命名文件,使其扩展名变为 .ahk(确保扩展名在您的 Windows 中可见),然后双击该文件以激活热键。

这是可以放在 之前的所有键的列表::,以便您可以添加自己的热键。这是来自 AHK 帮助文件,写得非常好,对初学者来说很容易。

Space - the spacebar
Tab
Enter (or Return)
Escape (or Esc)
Backspace (or BS)

Delete (or Del)
Insert (or Ins)
Home
End
PgUp
PgDn
Up
Down
Left
Right

ScrollLock
CapsLock
NumLock

Numlock ON Numlock OFF 
Numpad0 NumpadIns 
Numpad1 NumpadEnd 
Numpad2 NumpadDown 
Numpad3 NumpadPgDn 
Numpad4 NumpadLeft 
Numpad5 NumpadClear 
Numpad6 NumpadRight 
Numpad7 NumpadHome 
Numpad8 NumpadUp 
Numpad9 NumpadPgUp 
NumpadDot (.)  NumpadDel 
NumpadDiv (/) NumpadDiv (/) 
NumpadMult (*) NumpadMult (*) 
NumpadAdd (+) NumpadAdd (+) 
NumpadSub (-) NumpadSub (-) 
NumpadEnter NumpadEnter 


F1 through F24 - The 12 or more function keys at the top of most keyboards.

AppsKey - this is the key that invokes the right-click context menu.

LWin - the left Windows logo key
RWin - the right Windows logo key. Note: unlike Control/Alt/Shift, there is no generic/neutral "Win" key because the OS does not support it.
Control (or Ctrl)
Alt
Shift
Note: The hotkeys Shift::, Alt::, and Control:: fire upon release of the key unless they have the tilde prefix such as ~Alt::. By contrast, a specific left or right hotkey such as LAlt:: fires when it is pressed down.

LControl (or LCtrl) - the left control key 
RControl (or RCtrl) - the right control key 
LShift - the left shift key
RShift - the right shift key
LAlt - the left Alt key 
RAlt - Note: If your keyboard layout has AltGr instead of RAlt, you can probably use it as a hotkey prefix via <^>! as described here. In addition, "LControl & RAlt::" would make AltGr itself into a hotkey.

PrintScreen
CtrlBreak
Pause
Break -- Since this is synonymous with Pause, use ^CtrlBreak in hotkeys instead of ^Pause or ^Break.

Help - this probably doesn't exist on most keyboards. It's usually not the same as F1.
Sleep - note that the sleep key on some keyboards might not work with this.

The following exist only on Multimedia or Internet keyboards that have extra buttons or keys:
Browser_Back
Browser_Forward
Browser_Refresh
Browser_Stop
Browser_Search
Browser_Favorites
Browser_Home
Volume_Mute
Volume_Down
Volume_Up
Media_Next
Media_Prev
Media_Stop
Media_Play_Pause
Launch_Mail
Launch_Media
Launch_App1
Launch_App2

答案2

另一个解决方案是霍基,其工作原理更像 AutoHotKey,但它只有 18K 并且非常容易设置。

答案3

一个更简单、更轻量级的工具是按键调整。它只是重新配置了 Windows 的键盘映射,虽然灵活性较差,但对于简单的键到键重新映射来说效果很好,并且不需要一直运行程序。

这是我在全新安装 Windows 时要做的第一件事之一,将 CapsLock 转换为 Shift 键。

相关内容