1
我正在尝试使用AutoHotKey编写一个小脚本来代替键来更改我的键盘布局。它应该像这样的工作:除了AutoHotKey脚本SendInput
[=ü
{=Ü
;=ö
:=Ö
'=ä
"=Ä
]='
}="
\=;
|=:
所有键的作用:= O,这将导致:=:
难道我使用$ {和}生正确?
我希望我的帖子不要太混乱。 ;-)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
$[::
SendInput {Raw}ü
Return
${::
SendInput {Raw}Ü
Return
$;::
SendInput {Raw}ö
Return
$:::
SendInput {Raw}Ö
Return
$'::
SendInput {Raw}ä
Return
$"::
SendInput {Raw}Ä
Return
$]::
SendInput {Raw}'
Return
$}::
SendInput {Raw}"
Return
$\::
SendInput {Raw};
Return
$|::
SendInput {Raw}:
Return