【发布时间】:2015-05-21 13:15:27
【问题描述】:
我想使用 AutoHotKey 重新映射几个键。例如:
;remap the 9 key to (
9::Send (
;Remap the shift 9 key to output 9.
$+9::Send, {9} -- fails.
有谁知道如何将 Shift + 键重新映射到普通键?
我想重新映射这些键以避免经常按 Shift 键。我经常在我的代码中键入 ()_,我宁愿不必每次都按 Shift 键。话虽如此,我也不想失去对其默认密钥的访问权限。
编辑 1:
最终代码如下:
;remap the 9 key to (
9::(
;Remap the shift 9 key to output 9.
$+(::Send 9
;remap the 0 key to )
0::)
;remap the shift 0 key to 0
$+)::Send 0
【问题讨论】:
标签: autohotkey